|
@@ -3090,6 +3090,15 @@
|
|
|
<if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
|
|
|
AND d.NAME = #{qcResultShortPageVO.casesEntryName}
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
+ AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesName != null and qcResultShortPageVO.casesName != ''">
|
|
|
+ AND d.cases_name = #{qcResultShortPageVO.casesName}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesId != null">
|
|
|
+ AND d.cases_id = #{qcResultShortPageVO.casesId}
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
|
|
|
AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
|
OR a.beh_doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
@@ -3100,9 +3109,6 @@
|
|
|
OR a.beh_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' )
|
|
|
OR a.director_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' ))
|
|
|
</if>
|
|
|
- <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
- AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
- </if>
|
|
|
<if test="qcResultShortPageVO.isReject != null">
|
|
|
AND c.is_reject = #{qcResultShortPageVO.isReject}
|
|
|
</if>
|
|
@@ -5222,6 +5228,15 @@
|
|
|
<if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
|
|
|
AND d.NAME = #{qcResultShortPageVO.casesEntryName}
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
+ AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesName != null and qcResultShortPageVO.casesName != ''">
|
|
|
+ AND d.cases_name = #{qcResultShortPageVO.casesName}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesId != null">
|
|
|
+ AND d.cases_id = #{qcResultShortPageVO.casesId}
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
|
|
|
AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
|
OR a.beh_doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
@@ -5232,9 +5247,6 @@
|
|
|
OR a.beh_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' )
|
|
|
OR a.director_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' ))
|
|
|
</if>
|
|
|
- <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
- AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
- </if>
|
|
|
<if test="qcResultShortPageVO.isReject != null">
|
|
|
AND c.is_reject = #{qcResultShortPageVO.isReject}
|
|
|
</if>
|
|
@@ -5443,6 +5455,15 @@
|
|
|
<if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
|
|
|
AND d.NAME = #{qcResultShortPageVO.casesEntryName}
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
+ AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesName != null and qcResultShortPageVO.casesName != ''">
|
|
|
+ AND d.cases_name = #{qcResultShortPageVO.casesName}
|
|
|
+ </if>
|
|
|
+ <if test="qcResultShortPageVO.casesId != null">
|
|
|
+ AND d.cases_id = #{qcResultShortPageVO.casesId}
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
|
|
|
AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
|
OR a.beh_doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
|
|
@@ -5453,9 +5474,6 @@
|
|
|
OR a.beh_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' )
|
|
|
OR a.director_doctor_name LIKE CONCAT( '%', #{qcResultShortPageVO.doctorName}, '%' ))
|
|
|
</if>
|
|
|
- <if test="qcResultShortPageVO.casesEntryId != null ">
|
|
|
- AND d.id = #{qcResultShortPageVO.casesEntryId}
|
|
|
- </if>
|
|
|
<if test="qcResultShortPageVO.isReject != null">
|
|
|
AND c.is_reject = #{qcResultShortPageVO.isReject}
|
|
|
</if>
|