|
@@ -2564,6 +2564,12 @@
|
|
|
<if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
|
|
|
AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.isReject != null and qcResultShortPageVO.isReject != ''">
|
|
|
+ AND c.is_reject = #{qcResultShortPageVO.isReject}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.ruleType != null and qcResultShortPageVO.ruleType != ''">
|
|
|
+ AND d.rule_type = #{qcResultShortPageVO.ruleType}
|
|
|
+ </if>
|
|
|
) t1
|
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
|
AND t1.behospital_code = t2.behospital_code
|
|
@@ -2652,6 +2658,12 @@
|
|
|
<if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId != ''">
|
|
|
AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.isReject != null and qcResultShortPageVO.isReject != ''">
|
|
|
+ AND c.is_reject = #{qcResultShortPageVO.isReject}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.ruleType != null and qcResultShortPageVO.ruleType != ''">
|
|
|
+ AND d.rule_type = #{qcResultShortPageVO.ruleType}
|
|
|
+ </if>
|
|
|
) t1
|
|
|
LEFT JOIN med_home_page t2 ON t1.hospital_id = t2.hospital_id
|
|
|
AND t1.behospital_code = t2.behospital_code
|