From d2a8fbadb154de3522155f5ca73c4cc18626e9bb Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Mon, 24 Mar 2025 14:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96=E5=A5=97=E9=A4=90=E4=BF=A1?= =?UTF-8?q?=E6=81=AFID=20=E6=94=B9=E6=88=90=E8=AF=BB=E5=8F=96=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20=E9=85=8D=E7=BD=AE=E9=A1=B9=EF=BC=9Aitem.id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/inspectpatient/InspectPatientController.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) {