|
@@ -1511,6 +1511,7 @@
|
|
|
med_behospital_info a
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
+ and a.qc_type_id != 0
|
|
|
<if test="isPlacefile != null and isPlacefile != ''">
|
|
|
and a.is_placefile = #{isPlacefile}
|
|
|
</if>
|
|
@@ -1670,6 +1671,7 @@
|
|
|
med_behospital_info a
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
+ and a.qc_type_id != 0
|
|
|
<if test="isPlacefile != null and isPlacefile != ''">
|
|
|
and a.is_placefile = #{isPlacefile}
|
|
|
</if>
|
|
@@ -6849,7 +6851,7 @@
|
|
|
GROUP BY
|
|
|
d.doctor_id,
|
|
|
d.doctor_name
|
|
|
- having sum( e.cases_entry_id = 2594 ) is not null or sum( e.cases_entry_id = 2973 ) or sum( e.cases_entry_id = 2930 )
|
|
|
+ having sum( e.cases_entry_id = 2594 ) is not null or sum( e.cases_entry_id = 2973 ) is not null or sum( e.cases_entry_id = 2930 is not null)
|
|
|
) UNION
|
|
|
(
|
|
|
SELECT
|