@@ -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 = '' ;