linzhijie
2021-03-11 84fea994d2db7dc313ad1774f34eb12a45f8d6e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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<Dept> selectDeptList(Dept dept);
    
    public List<Ztree> selectDeptTree(Dept dept);
    
    public List<Ztree> 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);
}