|
@@ -200,10 +200,10 @@
|
|
mbi.file_code fileCode,
|
|
mbi.file_code fileCode,
|
|
mbi.sex,
|
|
mbi.sex,
|
|
mhp.age,
|
|
mhp.age,
|
|
- mbi.beh_dept_name behospitalDept,
|
|
|
|
|
|
+ mbi.beh_dept_name behDeptName,
|
|
mbi.leave_hospital_date leaveHospitalDate,
|
|
mbi.leave_hospital_date leaveHospitalDate,
|
|
mhp.behospital_day_num behospitalDayNum,
|
|
mhp.behospital_day_num behospitalDayNum,
|
|
- mbi.doctor_name attendingDoctor,
|
|
|
|
|
|
+ mbi.doctor_name doctorName,
|
|
mqi.score_res scoreRes,
|
|
mqi.score_res scoreRes,
|
|
mqi.level,
|
|
mqi.level,
|
|
mbi.diagnose,
|
|
mbi.diagnose,
|
|
@@ -254,9 +254,9 @@
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
<if test="behospitalCode != null and behospitalCode != ''">
|
|
AND mbi.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
AND mbi.behospital_code like CONCAT('%',#{behospitalCode},'%')
|
|
</if>
|
|
</if>
|
|
- <if test="departments !=null and departments.size > 0">
|
|
|
|
|
|
+ <if test="department !=null and department.size > 0">
|
|
and mbi.beh_dept_id in
|
|
and mbi.beh_dept_id in
|
|
- <foreach collection="departments" item="item" open="(" close=")" separator=",">
|
|
|
|
|
|
+ <foreach collection="department" item="item" open="(" close=")" separator=",">
|
|
#{item}
|
|
#{item}
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|