调整mysql/sqlite codepre 配置

This commit is contained in:
fasiondog 2024-08-27 18:56:32 +08:00
parent 8a23b40d42
commit c291b9a1f0
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
UPDATE `hku_base`.`coderuletype` SET `codepre`=510 WHERE `codepre`=51 AND `marketid`=1;
UPDATE `hku_base`.`coderuletype` SET `codepre`=500 WHERE `codepre`=50 AND `marketid`=1;
UPDATE `hku_base`.`coderuletype` SET `codepre`=200 WHERE `codepre`=20 AND `marketid`=2;
INSERT INTO `hku_base`.`coderuletype` (`marketid`, `codepre`, `type`, `description`) VALUES (1, "56", 5, "上证ETF");
INSERT INTO `hku_base`.`coderuletype` (`marketid`, `codepre`, `type`, `description`) VALUES (1, "58", 5, "上证ETF");
UPDATE `hku_base`.`version` set `version` = 19;

View File

@ -0,0 +1,4 @@
BEGIN TRANSACTION;
UPDATE `coderuletype` SET `codepre`=150 WHERE `codepre`=15 AND `marketid`=2;
UPDATE `version` set `version` = 20;
COMMIT;