guowei 2 лет назад
Родитель
Сommit
81bfd89d3e

+ 1 - 0
cbkj_web_api/src/main/resources/mappers/store/TDisplayMapper.xml

@@ -272,6 +272,7 @@
                 and d.PRE_MAT_TYPE = #{preMatType}
             </if>
         </where>
+        group by d.DISPLAY_ID
         order by d.SORT_NUM
     </select>
 

+ 5 - 0
cbkj_web_api/src/main/resources/sqlRecord/pre_api_v5.12.6.sql

@@ -124,3 +124,8 @@ insert into `sys_admin_menu` (`mid`, `mname`, `url`, `path`, `iconCls`, `enabled
 INSERT INTO `sys_admin_menu` (`mid`, `mname`, `url`, `path`, `iconCls`, `enabled`, `parent_mid`, `create_date`, `cteate_id`, `menu_type`, `btn_class`, `btn_type`, `btn_weight`, `sort_number`, `btn_level`, `open_type`) VALUES('220','经方查询','/study/classical',NULL,NULL,'2','182','2022-01-11 15:40:21','70810c874405453b99c6c2cf72296fe5','2',NULL,NULL,NULL,'4',NULL,'1');
 #2022.1.24 gw 增加处方分析(新都)菜单
 INSERT INTO `sys_admin_menu` (`mid`, `mname`, `url`, `path`, `iconCls`, `enabled`, `parent_mid`, `create_date`, `cteate_id`, `menu_type`, `btn_class`, `btn_type`, `btn_weight`, `sort_number`, `btn_level`, `open_type`) VALUES('221','处方分析(新都)','/statistical/p&m',NULL,NULL,'2','14','2022-01-24 10:40:21','70810c874405453b99c6c2cf72296fe5','2',NULL,NULL,NULL,'6',NULL,'1');
+
+#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`;