[测评系统]--测评系统核心代码库
zhijie
2023-12-11 b7988d5538046c78492d52ee2c1300169b0bbcad
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
29
30
31
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<Dept> selectDeptList(Dept dept);
    
    public int deleteDeptById(Long deptId);
    
    public int insertDept(Dept dept);
    
    public int updateDept(Dept dept);
    
    public int updateDeptChildren(@Param("depts") List<Dept> depts);
    
    public Dept selectDeptById(Long deptId);
    
    public Dept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
    
    public List<String> selectRoleDeptTree(Long roleId);
    
    public void updateDeptStatus(Dept dept);
    
    public List<Dept> selectChildrenDeptById(Long deptId);
}