|
@@ -3461,7 +3461,8 @@
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
|
a.beh_dept_name,
|
|
|
- a.doctor_id
|
|
|
+ a.doctor_id,
|
|
|
+ a.doctor_name
|
|
|
) t1,
|
|
|
(
|
|
|
SELECT
|
|
@@ -3519,7 +3520,8 @@
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
|
a.beh_dept_name,
|
|
|
- a.doctor_id
|
|
|
+ a.doctor_id,
|
|
|
+ a.doctor_name
|
|
|
) t2,(
|
|
|
SELECT
|
|
|
h1.deptId,
|
|
@@ -3594,7 +3596,8 @@
|
|
|
GROUP BY
|
|
|
a.beh_dept_id,
|
|
|
a.beh_dept_name,
|
|
|
- a.doctor_id
|
|
|
+ a.doctor_id,
|
|
|
+ a.doctor_name
|
|
|
) h1,(
|
|
|
SELECT
|
|
|
count(*) AS entryNum
|
|
@@ -3615,7 +3618,8 @@
|
|
|
left join bas_doctor_info bas
|
|
|
on t4.doctorId = bas.doctor_id
|
|
|
and bas.is_deleted = 'N'
|
|
|
- where 1=1
|
|
|
+ where
|
|
|
+ t4.doctorName != ''
|
|
|
<if test="professor != null and professor != ''">
|
|
|
and bas.professor = #{professor}
|
|
|
</if>
|
|
@@ -11755,6 +11759,9 @@
|
|
|
<if test="qcResultPageVO.deptName != null and qcResultPageVO.deptName != ''">
|
|
|
AND a.beh_dept_name = #{qcResultPageVO.deptName}
|
|
|
</if>
|
|
|
+ <if test="qcResultPageVO.deptId != null and qcResultPageVO.deptId != ''">
|
|
|
+ AND a.beh_dept_id = #{qcResultPageVO.deptId}
|
|
|
+ </if>
|
|
|
<if test="qcResultPageVO.behospitalCode != null and qcResultPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultPageVO.behospitalCode}, '%' )
|
|
|
</if>
|
|
@@ -11855,6 +11862,9 @@
|
|
|
<if test="qcResultPageVO.deptName != null and qcResultPageVO.deptName != ''">
|
|
|
AND a.beh_dept_name LIKE CONCAT( '%', #{qcResultPageVO.deptName}, '%' )
|
|
|
</if>
|
|
|
+ <if test="qcResultPageVO.deptId != null and qcResultPageVO.deptId != ''">
|
|
|
+ AND a.beh_dept_id = #{qcResultPageVO.deptId}
|
|
|
+ </if>
|
|
|
<if test="qcResultPageVO.behospitalCode != null and qcResultPageVO.behospitalCode != ''">
|
|
|
AND a.behospital_code LIKE CONCAT( '%', #{qcResultPageVO.behospitalCode}, '%' )
|
|
|
</if>
|