科室删除修改
This commit is contained in:
parent
a780a41811
commit
16b28038b6
@ -141,10 +141,10 @@ public interface DepartmentMapper {
|
|||||||
/**
|
/**
|
||||||
* 查询下级机构信息
|
* 查询下级机构信息
|
||||||
*
|
*
|
||||||
* @param id 机构信息主键
|
* @param ids 机构信息主键
|
||||||
* @return 机构信息
|
* @return 机构信息
|
||||||
*/
|
*/
|
||||||
List<Department> selectDepartmentByParentId(Long[] id);
|
List<Department> selectDepartmentByParentId(Long[] ids);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据上级机构id和科室名称查询数量
|
* 根据上级机构id和科室名称查询数量
|
||||||
|
|||||||
@ -619,7 +619,7 @@
|
|||||||
|
|
||||||
<select id="selectDepartmentByParentId" resultType="com.xinelu.manage.domain.department.Department">
|
<select id="selectDepartmentByParentId" resultType="com.xinelu.manage.domain.department.Department">
|
||||||
<include refid="selectDepartmentVo"/>
|
<include refid="selectDepartmentVo"/>
|
||||||
where parent_department_id =
|
where parent_department_id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user