package com.ots.project.system.dept.service; import com.ots.framework.web.domain.Ztree; import com.ots.project.system.dept.domain.Dept; import com.ots.project.system.role.domain.Role; import java.util.List; public interface IDeptService { public List selectDeptList(Dept dept); public List selectDeptTree(Dept dept); public List roleDeptTreeData(Role role); public int selectDeptCount(Long parentId); public boolean checkDeptExistUser(Long deptId); public int deleteDeptById(Long deptId); public int insertDept(Dept dept); public int updateDept(Dept dept); public Dept selectDeptById(Long deptId); public String checkDeptNameUnique(Dept dept); }