|
@@ -2931,7 +2931,7 @@
|
|
|
) t
|
|
|
where 1=1
|
|
|
<if test="qcResultShortPageVO.checkStatus != null">
|
|
|
- AND t.checkStatus = #{qcResultShortPageVO.checkStatus}
|
|
|
+ AND ifnull(t.checkStatus,0) = #{qcResultShortPageVO.checkStatus}
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -3891,7 +3891,7 @@
|
|
|
mci.is_deleted = 'N'
|
|
|
AND be.hospital_id = mci.hospital_id
|
|
|
AND be.behospital_code = mci.behospital_code
|
|
|
- AND mci.status = #{qcResultShortPageVO.checkStatus}
|
|
|
+ AND ifnull(mci.status,0) = #{qcResultShortPageVO.checkStatus}
|
|
|
</if>
|
|
|
<if test="qcResultShortPageVO.checkStatus == null">
|
|
|
LEFT JOIN med_check_info mci ON mci.is_deleted = 'N'
|
|
@@ -4123,7 +4123,7 @@
|
|
|
AND a.behospital_code = c.behospital_code
|
|
|
AND a.qc_type_id != 0
|
|
|
AND a.is_placefile = '1'
|
|
|
- AND c.`status` = 1
|
|
|
+ AND ifnull(c.`status`,0) = 1
|
|
|
<if test="hospitalId != null and hospitalId != ''">
|
|
|
AND a.hospital_id = #{hospitalId}
|
|
|
</if>
|