|
@@ -1712,6 +1712,7 @@
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
AND c.is_deleted = 'N'
|
|
|
+ and a.qc_type_id != 0
|
|
|
AND a.hospital_id = c.hospital_id
|
|
|
AND a.beh_dept_id = c.dept_id
|
|
|
<if test="isPlacefile != null and isPlacefile != ''">
|
|
@@ -1759,6 +1760,7 @@
|
|
|
WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
AND c.is_deleted = 'N'
|
|
|
+ and a.qc_type_id != 0
|
|
|
AND a.hospital_id = c.hospital_id
|
|
|
AND a.beh_dept_id = c.dept_id
|
|
|
<if test="isPlacefile != null and isPlacefile != ''">
|
|
@@ -6851,7 +6853,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 ) is not null or sum( e.cases_entry_id = 2930 is not null)
|
|
|
+ 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
|