|
@@ -2865,7 +2865,7 @@
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
</if>
|
|
</if>
|
|
<if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
|
|
<if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
|
|
- AND d.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.casesEntryName}, '%' )
|
|
|
|
|
|
+ AND d.NAME = #{qcResultShortPageVO.casesEntryName}
|
|
</if>
|
|
</if>
|
|
<if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
|
|
<if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
|
|
AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
@@ -2894,9 +2894,9 @@
|
|
</if>
|
|
</if>
|
|
)be
|
|
)be
|
|
left join med_check_info mci
|
|
left join med_check_info mci
|
|
- on mci.is_deleted='N'
|
|
|
|
- and be.hospital_id=mci.hospital_id
|
|
|
|
- and be.behospital_code=mci.behospital_code
|
|
|
|
|
|
+ on mci.is_deleted = 'N'
|
|
|
|
+ and be.hospital_id = mci.hospital_id
|
|
|
|
+ and be.behospital_code = mci.behospital_code
|
|
)tt1
|
|
)tt1
|
|
<if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId==2511">
|
|
<if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId==2511">
|
|
,med_medical_record tt2
|
|
,med_medical_record tt2
|