科室删除修改

This commit is contained in:
zhangheng 2024-12-26 16:26:11 +08:00
parent a780a41811
commit 16b28038b6
2 changed files with 3 additions and 3 deletions

View File

@ -141,10 +141,10 @@ public interface DepartmentMapper {
/**
* 查询下级机构信息
*
* @param id 机构信息主键
* @param ids 机构信息主键
* @return 机构信息
*/
List<Department> selectDepartmentByParentId(Long[] id);
List<Department> selectDepartmentByParentId(Long[] ids);
/**
* 根据上级机构id和科室名称查询数量

View File

@ -619,7 +619,7 @@
<select id="selectDepartmentByParentId" resultType="com.xinelu.manage.domain.department.Department">
<include refid="selectDepartmentVo"/>
where parent_department_id =
where parent_department_id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>