|
@@ -57,8 +57,8 @@
|
|
|
left join
|
|
|
med_pacs_result t2
|
|
|
on t1.hospital_id = t2.hospital_id
|
|
|
- AND t1.is_deleted = "N"
|
|
|
- AND t2.is_deleted = "N"
|
|
|
+ AND t1.is_deleted = 'N'
|
|
|
+ AND t2.is_deleted = 'N'
|
|
|
AND t1.rep_name IS NOT NULL
|
|
|
AND t1.check_date IS NOT NULL
|
|
|
AND t1.behospital_code = t2.behospital_code
|
|
@@ -107,7 +107,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="infos = null || infos.size() == 0">
|
|
|
- and 1 = 2
|
|
|
+ and b.info in ("")
|
|
|
</if>
|
|
|
</if>
|
|
|
<if test="checkInfoVO.checkType != null and checkInfoVO.checkType == 2 ">
|
|
@@ -118,7 +118,6 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="infos = null || infos.size() == 0">
|
|
|
- and 1 = 1
|
|
|
</if>
|
|
|
</if>
|
|
|
</select>
|