|
@@ -6426,7 +6426,9 @@
|
|
med_behospital_info a
|
|
med_behospital_info a
|
|
WHERE
|
|
WHERE
|
|
a.is_deleted = 'N'
|
|
a.is_deleted = 'N'
|
|
- AND a.is_placefile = 1
|
|
|
|
|
|
+ <if test="reBeHosPageVO.isPlacefile != null and reBeHosPageVO.isPlacefile != ''">
|
|
|
|
+ and a.is_placefile = #{reBeHosPageVO.isPlacefile}
|
|
|
|
+ </if>
|
|
AND a.qc_type_id != 0
|
|
AND a.qc_type_id != 0
|
|
AND IFNULL( a.diagnose, '' )!= ''
|
|
AND IFNULL( a.diagnose, '' )!= ''
|
|
AND IFNULL( a.file_code, '' )!= ''
|
|
AND IFNULL( a.file_code, '' )!= ''
|
|
@@ -6454,7 +6456,9 @@
|
|
med_behospital_info tt2
|
|
med_behospital_info tt2
|
|
WHERE
|
|
WHERE
|
|
tt2.is_deleted = 'N'
|
|
tt2.is_deleted = 'N'
|
|
- AND tt2.is_placefile = 1
|
|
|
|
|
|
+ <if test="reBeHosPageVO.isPlacefile != null and reBeHosPageVO.isPlacefile != ''">
|
|
|
|
+ and tt2.is_placefile = #{reBeHosPageVO.isPlacefile}
|
|
|
|
+ </if>
|
|
AND tt2.qc_type_id != 0
|
|
AND tt2.qc_type_id != 0
|
|
AND tt1.file_code = tt2.file_code
|
|
AND tt1.file_code = tt2.file_code
|
|
AND tt1.diagnose = tt2.diagnose
|
|
AND tt1.diagnose = tt2.diagnose
|
|
@@ -6515,7 +6519,9 @@
|
|
med_behospital_info a
|
|
med_behospital_info a
|
|
WHERE
|
|
WHERE
|
|
a.is_deleted = 'N'
|
|
a.is_deleted = 'N'
|
|
- AND a.is_placefile = 1
|
|
|
|
|
|
+ <if test="reBeHosPageVO.isPlacefile != null and reBeHosPageVO.isPlacefile != ''">
|
|
|
|
+ and a.is_placefile = #{reBeHosPageVO.isPlacefile}
|
|
|
|
+ </if>
|
|
AND a.qc_type_id != 0
|
|
AND a.qc_type_id != 0
|
|
AND IFNULL( a.diagnose, '' )!= ''
|
|
AND IFNULL( a.diagnose, '' )!= ''
|
|
AND IFNULL( a.file_code, '' )!= ''
|
|
AND IFNULL( a.file_code, '' )!= ''
|
|
@@ -6543,7 +6549,9 @@
|
|
med_behospital_info tt2
|
|
med_behospital_info tt2
|
|
WHERE
|
|
WHERE
|
|
tt2.is_deleted = 'N'
|
|
tt2.is_deleted = 'N'
|
|
- AND tt2.is_placefile = 1
|
|
|
|
|
|
+ <if test="reBeHosPageVO.isPlacefile != null and reBeHosPageVO.isPlacefile != ''">
|
|
|
|
+ and tt2.is_placefile = #{reBeHosPageVO.isPlacefile}
|
|
|
|
+ </if>
|
|
AND tt2.qc_type_id != 0
|
|
AND tt2.qc_type_id != 0
|
|
AND tt1.file_code = tt2.file_code
|
|
AND tt1.file_code = tt2.file_code
|
|
AND tt1.diagnose = tt2.diagnose
|
|
AND tt1.diagnose = tt2.diagnose
|