11
This commit is contained in:
parent
342f7444a5
commit
a81ed5fb40
@ -186,12 +186,12 @@
|
||||
from department dt left join department_disease_type ddt on dt.id = ddt.department_id
|
||||
<where>
|
||||
<if test="hospitalAgencyId != null and hospitalAgencyId != ''">
|
||||
dt.hospital_agency_id = #{hospitalAgencyId}
|
||||
and dt.hospital_agency_id = #{hospitalAgencyId}
|
||||
</if>
|
||||
<if test="departmentName != null and departmentName != ''">
|
||||
dt.department_name like concat('%',#{departmentName},'%')
|
||||
and dt.department_name like concat('%',#{departmentName},'%')
|
||||
</if>
|
||||
</where>
|
||||
GROUP BY dt.id
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user