Browse Source

质控评分过滤=0的数据

zhoutg 5 years ago
parent
commit
dd57d6d9f4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 4 - 1
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -83,7 +83,7 @@
         <if test="level != null and level != ''">
             and t.level = #{level}
         </if>
-
+        and t.qc_type_id != 0
     </select>
 
     <select id="getMsg" resultType="com.diagbot.dto.MsgDTO">
@@ -356,6 +356,7 @@
             AND a.hospital_id = b.hospital_id
             AND a.behospital_code = b.behospital_code
             )
+         and a.qc_type_id != 0
     </select>
 
     <!--质控评分(科室)分页-->
@@ -423,6 +424,7 @@
         <if test="level != null and level != ''">
             and t.level = #{level}
         </if>
+        and t.qc_type_id != 0
     </select>
 
     <!--质控评分(个人)分页-->
@@ -489,6 +491,7 @@
         <if test="level != null and level != ''">
             and t.level = #{level}
         </if>
+        and t.qc_type_id != 0
     </select>
 
     <!-- 病案首页病历数统计 -->