浏览代码

QC前置条件相关代码更新

gaodm 4 年之前
父节点
当前提交
bc1378296e

+ 3 - 0
src/main/java/com/diagbot/dto/QcCasesEntryDTO.java

@@ -19,4 +19,7 @@ public class QcCasesEntryDTO {
     private String code;
 
     private String msg;
+
+    private String precond;
+
 }

+ 1 - 1
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -807,7 +807,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         for (QcCasesEntryDTO qc : qcCasesEntryDTOList) {
             Map<String, String> map = new HashMap<>();
             map.put("code", qc.getCode());
-            map.put("precond", null);
+            map.put("precond", qc.getPrecond());
             map.put("name", qc.getMsg());
             res.put(qc.getCode(), map);
         }

+ 1 - 0
src/main/resources/mapper/QcCasesEntryMapper.xml

@@ -29,6 +29,7 @@
         SELECT DISTINCT
         t4.`code`,
         t4.mode_id,
+        t4.precond,
         t3.msg
         FROM
         med_behospital_info t1,