Преглед изворни кода

生成核查任务去除qc_type_id = 0的数据

songxinlu пре 3 година
родитељ
комит
041d017508
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/main/resources/mapper/MedCheckInfoMapper.xml

+ 1 - 0
src/main/resources/mapper/MedCheckInfoMapper.xml

@@ -391,6 +391,7 @@
         AND mbt.is_deleted = 'N'
         WHERE
         mbi.hospital_id=#{hospitalId} AND mbi.is_deleted = 'N' and mqi.score_res is not null
+        AND mbi.qc_type_id != 0
         AND mci.check_id is null
         <if test="startDate != null">
             <![CDATA[ AND mbi.leave_hospital_date >= #{startDate}]]>