Quellcode durchsuchen

单项否决、条目规则筛选

zhaops vor 5 Jahren
Ursprung
Commit
03e0d4e32b

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

@@ -52,4 +52,14 @@ public class QcResultShortPageVO extends Page {
     private Date startDate;
     @NotNull(message = "请输入截止时间")
     private Date endDate;
+
+    /**
+     * 单项否决
+     */
+    private Integer isReject;
+
+    /**
+     * 规则类型(0:无,1:空项,2:错误)
+     */
+    private Integer ruleType;
 }

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

@@ -217,6 +217,8 @@ public class ConsoleByDeptController {
                     "behDeptName:科室名称 <br>" +
                     "doctorName:主治医生名称 <br>" +
                     "level: 病历等级 <br>" +
+                    "isReject: 单项否决 1-否决,0-非<br>" +
+                    "ruleType: 规则类型 0:无,1:空项,2:错误<br>" +
                     "startDate: 起始时间 <br>" +
                     "endDate: 截止时间 <br>")
     @PostMapping("/qcResultShortByDeptPage")

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

@@ -458,6 +458,8 @@ public class ConsoleController {
                     "casesEntryId: 条目id <br>" +
                     "behDeptName:科室名称 <br>" +
                     "level: 病历等级 <br>" +
+                    "isReject: 单项否决 1-否决,0-非<br>" +
+                    "ruleType: 规则类型 0:无,1:空项,2:错误<br>" +
                     "startDate: 起始时间 <br>" +
                     "endDate: 截止时间 <br>")
     @PostMapping("/qcResultShortPage")

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

@@ -2564,6 +2564,12 @@
         <if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
             AND d.id = #{qcResultShortPageVO.casesEntryId}
         </if>
+        <if test="qcResultShortPageVO.isReject != null and qcResultShortPageVO.isReject != ''">
+            AND c.is_reject = #{qcResultShortPageVO.isReject}
+        </if>
+        <if test="qcResultShortPageVO.ruleType != null and qcResultShortPageVO.ruleType != ''">
+            AND d.rule_type = #{qcResultShortPageVO.ruleType}
+        </if>
         ) t1
         LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
         AND t1.behospital_code = t2.behospital_code
@@ -2652,6 +2658,12 @@
         <if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
             AND d.id = #{qcResultShortPageVO.casesEntryId}
         </if>
+        <if test="qcResultShortPageVO.isReject != null and qcResultShortPageVO.isReject != ''">
+            AND c.is_reject = #{qcResultShortPageVO.isReject}
+        </if>
+        <if test="qcResultShortPageVO.ruleType != null and qcResultShortPageVO.ruleType != ''">
+            AND d.rule_type = #{qcResultShortPageVO.ruleType}
+        </if>
         ) t1
         LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
         AND t1.behospital_code = t2.behospital_code