Forráskód Böngészése

质控核查统计

zhaops 4 éve
szülő
commit
b84d32c1de
1 módosított fájl, 2 hozzáadás és 1 törlés
  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>