Explorar o código

质控核查统计

zhaops %!s(int64=4) %!d(string=hai) anos
pai
achega
b84d32c1de
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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>