diff --git a/postdischarge-manage/src/main/resources/mapper/manage/departmentdiseasetype/DepartmentDiseaseTypeMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/departmentdiseasetype/DepartmentDiseaseTypeMapper.xml index 6be49655..fc961a03 100644 --- a/postdischarge-manage/src/main/resources/mapper/manage/departmentdiseasetype/DepartmentDiseaseTypeMapper.xml +++ b/postdischarge-manage/src/main/resources/mapper/manage/departmentdiseasetype/DepartmentDiseaseTypeMapper.xml @@ -186,12 +186,12 @@ from department dt left join department_disease_type ddt on dt.id = ddt.department_id - dt.hospital_agency_id = #{hospitalAgencyId} + and dt.hospital_agency_id = #{hospitalAgencyId} - dt.department_name like concat('%',#{departmentName},'%') + and dt.department_name like concat('%',#{departmentName},'%') GROUP BY dt.id - \ No newline at end of file +