瀏覽代碼

质控核查统计

zhaops 4 年之前
父節點
當前提交
b84d32c1de
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -5136,10 +5136,11 @@
         AND a.behospital_code = b.behospital_code
         AND a.behospital_code = c.behospital_code
         AND a.qc_type_id != 0
+        AND ifnull(c.`status`,0) = 1
+        AND c.check_type = 0
         <if test="isPlacefile != null and isPlacefile != ''">
             and a.is_placefile = #{isPlacefile}
         </if>
-        AND ifnull(c.`status`,0) = 1
         <if test="hospitalId != null and hospitalId != ''">
             AND a.hospital_id = #{hospitalId}
         </if>