package com.ots.project.system.dept.mapper; import com.ots.project.system.dept.domain.Dept; import org.apache.ibatis.annotations.Param; import java.util.List; public interface DeptMapper { public int selectDeptCount(Dept dept); public int checkDeptExistUser(Long deptId); public List selectDeptList(Dept dept); public int deleteDeptById(Long deptId); public int insertDept(Dept dept); public int updateDept(Dept dept); public int updateDeptChildren(@Param("depts") List depts); public Dept selectDeptById(Long deptId); public Dept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId); public List selectRoleDeptTree(Long roleId); public void updateDeptStatus(Dept dept); public List selectChildrenDeptById(Long deptId); }