|
@@ -94,15 +94,15 @@
|
|
|
or t.beh_doctor_id = #{doctorCode}
|
|
|
or t.director_doctor_id = #{doctorCode})
|
|
|
</if>
|
|
|
- <if test="fileCode != null and fileCode != ''">
|
|
|
- and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
- </if>
|
|
|
<if test="hospitalId != null">
|
|
|
and t.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
|
and t.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
+ </if>
|
|
|
<if test="behosDateStart != null">
|
|
|
<![CDATA[ and t.behospital_date >= #{behosDateStart}]]>
|
|
|
</if>
|
|
@@ -363,15 +363,15 @@
|
|
|
or t.beh_doctor_id = #{doctorCode}
|
|
|
or t.director_doctor_id = #{doctorCode})
|
|
|
</if>
|
|
|
- <if test="fileCode != null and fileCode != ''">
|
|
|
- and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
- </if>
|
|
|
<if test="hospitalId != null">
|
|
|
and t.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
|
and t.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
+ </if>
|
|
|
<if test="behosDateStart != null">
|
|
|
<![CDATA[ and t.behospital_date >= #{behosDateStart}]]>
|
|
|
</if>
|
|
@@ -1210,15 +1210,15 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and t.name like CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
|
- <if test="fileCode != null and fileCode != ''">
|
|
|
- and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
- </if>
|
|
|
<if test="hospitalId != null">
|
|
|
and t.hospital_id = #{hospitalId}
|
|
|
</if>
|
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
|
and t.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
|
</if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ and t.file_code like CONCAT('%',#{fileCode},'%')
|
|
|
+ </if>
|
|
|
<if test="behosDateStart != null">
|
|
|
<![CDATA[ and t.behospital_date >= #{behosDateStart}]]>
|
|
|
</if>
|
|
@@ -5673,6 +5673,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -5944,6 +5947,10 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -6206,6 +6213,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -7867,6 +7877,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -8115,6 +8128,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -12499,6 +12515,12 @@
|
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{fileCode}, '%' )
|
|
|
+ </if>
|
|
|
+ <if test="fileCode != null and fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="patName != null and patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{patName}, '%' )
|
|
|
</if>
|
|
@@ -12689,6 +12711,9 @@
|
|
|
<if test="qcResultPageVO.behospitalCode != null and qcResultPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultPageVO.fileCode != null and qcResultPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultPageVO.patName != null and qcResultPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -12885,6 +12910,9 @@
|
|
|
<if test="qcResultPageVO.behospitalCode != null and qcResultPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultPageVO.fileCode != null and qcResultPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultPageVO.patName != null and qcResultPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -13102,6 +13130,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -13312,6 +13343,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -16773,6 +16807,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -17028,6 +17065,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -17214,6 +17254,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -17402,6 +17445,9 @@
|
|
|
<if test="qcResultShortPageVO.behospitalCode != null and qcResultShortPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultShortPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultShortPageVO.fileCode != null and qcResultShortPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{qcResultShortPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="qcResultShortPageVO.patName != null and qcResultShortPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
|
|
|
</if>
|
|
@@ -20722,6 +20768,9 @@
|
|
|
<if test="getDetailRecordListPageVO.behospitalCode != null and getDetailRecordListPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{getDetailRecordListPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
|
+ <if test="getDetailRecordListPageVO.fileCode != null and getDetailRecordListPageVO.fileCode != ''">
|
|
|
+ AND a.file_code LIKE CONCAT( '%', #{getDetailRecordListPageVO.fileCode}, '%' )
|
|
|
+ </if>
|
|
|
<if test="getDetailRecordListPageVO.patName != null and getDetailRecordListPageVO.patName != ''">
|
|
|
AND a.NAME LIKE CONCAT( '%', #{getDetailRecordListPageVO.patName}, '%' )
|
|
|
</if>
|