Merge branch '0418_小程序开发' of http://182.92.166.109:3000/zhuangyuanke/PostDischargePatientManage into 0418_小程序开发
This commit is contained in:
commit
34afde73e9
@ -186,10 +186,10 @@
|
|||||||
from department dt left join department_disease_type ddt on dt.id = ddt.department_id
|
from department dt left join department_disease_type ddt on dt.id = ddt.department_id
|
||||||
<where>
|
<where>
|
||||||
<if test="hospitalAgencyId != null and hospitalAgencyId != ''">
|
<if test="hospitalAgencyId != null and hospitalAgencyId != ''">
|
||||||
dt.hospital_agency_id = #{hospitalAgencyId}
|
and dt.hospital_agency_id = #{hospitalAgencyId}
|
||||||
</if>
|
</if>
|
||||||
<if test="departmentName != null and departmentName != ''">
|
<if test="departmentName != null and departmentName != ''">
|
||||||
dt.department_name like concat('%',#{departmentName},'%')
|
and dt.department_name like concat('%',#{departmentName},'%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
GROUP BY dt.id
|
GROUP BY dt.id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user