diff --git a/yudao-module-inspect/yudao-module-inspect-biz/src/main/java/cn/iocoder/yudao/module/inspect/controller/admin/inspectpatient/InspectPatientController.java b/yudao-module-inspect/yudao-module-inspect-biz/src/main/java/cn/iocoder/yudao/module/inspect/controller/admin/inspectpatient/InspectPatientController.java index 939679a..5b81ece 100644 --- a/yudao-module-inspect/yudao-module-inspect-biz/src/main/java/cn/iocoder/yudao/module/inspect/controller/admin/inspectpatient/InspectPatientController.java +++ b/yudao-module-inspect/yudao-module-inspect-biz/src/main/java/cn/iocoder/yudao/module/inspect/controller/admin/inspectpatient/InspectPatientController.java @@ -172,8 +172,10 @@ public class InspectPatientController { } // 读取数据行 需要插入患者信息和患者项目信息 + ConfigDO config = configService.getConfigByKey("item.id"); + String itemid = config.getValue(); //检查套餐信息 - List doList = exammoduleService.selectItemsByExamModuleID(1001); + List doList = exammoduleService.selectItemsByExamModuleID(Integer.valueOf(itemid)); //患者信息 List dataList = new ArrayList<>(); //检查项目 @@ -358,7 +360,9 @@ public class InspectPatientController { //检查项目 List dataList2 = new ArrayList<>(); //检查套餐信息 - List doList = exammoduleService.selectItemsByExamModuleID(1001); + ConfigDO config = configService.getConfigByKey("item.id"); + String itemid = config.getValue(); + List doList = exammoduleService.selectItemsByExamModuleID(Integer.valueOf(itemid)); //填写项目信息 for (InspectitemsDO inspectitemsDO : doList) {