Bläddra i källkod

配方库存SQL
使用配方去除医联体医疗机构条件

guowei 2 år sedan
förälder
incheckning
d15ac8d0e9

BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/service/formula/TFormulaService.java


+ 3 - 1
cbkj_web_api/src/main/resources/sqlRecord/pre_api_v5.12.6.sql

@@ -128,4 +128,6 @@ INSERT INTO `sys_admin_menu` (`mid`, `mname`, `url`, `path`, `iconCls`, `enabled
 #2022.1.28 gw 配方库存增加药房ID
 ALTER TABLE `t_formula_auth` CHANGE `APP_ID` `APP_ID` VARCHAR(32) CHARSET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'APPID',
                              CHANGE `INS_CODE` `INS_CODE` VARCHAR(32) CHARSET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '医疗机构代码',
-                             ADD COLUMN `STORE_ID` VARCHAR(32) NOT NULL COMMENT '药房ID' AFTER `DEPT_ID`;
+                             ADD COLUMN `STORE_ID` VARCHAR(32) NOT NULL COMMENT '药房ID' AFTER `DEPT_ID`;
+#2022.1.28 gw 配方库存删除无效数据
+DELETE FROM `t_formula_auth` WHERE FORMULA_ID = '' ;