فهرست منبع

条目缺陷质控详情页

zhaops 5 سال پیش
والد
کامیت
1d65d745de

+ 4 - 0
src/main/java/com/diagbot/vo/QcResultShortPageVO.java

@@ -32,6 +32,10 @@ public class QcResultShortPageVO extends Page {
      * 条目名称
      */
     private String casesEntryName;
+    /**
+     * 条目id
+     */
+    private Long casesEntryId;
     /**
      * 科室名称
      */

+ 1 - 0
src/main/java/com/diagbot/web/ConsoleByDeptController.java

@@ -213,6 +213,7 @@ public class ConsoleByDeptController {
             notes = "behospitalCode: 病历号)<br>" +
                     "patName: 病人姓名 <br>" +
                     "casesEntryName: 条目名称 <br>" +
+                    "casesEntryId: 条目id <br>" +
                     "behDeptName:科室名称 <br>" +
                     "doctorName:主治医生名称 <br>" +
                     "level: 病历等级 <br>" +

+ 1 - 0
src/main/java/com/diagbot/web/ConsoleController.java

@@ -455,6 +455,7 @@ public class ConsoleController {
             notes = "behospitalCode: 病历号)<br>" +
                     "patName: 病人姓名 <br>" +
                     "casesEntryName: 条目名称 <br>" +
+                    "casesEntryId: 条目id <br>" +
                     "behDeptName:科室名称 <br>" +
                     "level: 病历等级 <br>" +
                     "startDate: 起始时间 <br>" +

+ 6 - 0
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -2561,6 +2561,9 @@
         <if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
             AND d.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.casesEntryName}, '%' )
         </if>
+        <if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
+            AND d.id = #{qcResultShortPageVO.casesEntryId}
+        </if>
         ) t1
         LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
         AND t1.behospital_code = t2.behospital_code
@@ -2646,6 +2649,9 @@
         <if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
             AND d.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.casesEntryName}, '%' )
         </if>
+        <if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
+            AND d.id = #{qcResultShortPageVO.casesEntryId}
+        </if>
         ) t1
         LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
         AND t1.behospital_code = t2.behospital_code