wang-hao-jie
2022-08-25 57dcc73636bb7d8dce89c808eb8cc988a7512264
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package com.ruoyi.station.service;
 
import java.util.List;
 
import com.ruoyi.common.core.domain.Ztree;
import com.ruoyi.station.domain.MjDept;
import com.ruoyi.system.domain.SysDept;
 
/**
 * 部门Service接口
 * 
 * @author ruoyi
 * @date 2020-08-07
 */
public interface IMjDeptService 
{
    /**
     * 查询部门
     * 
     * @param id 部门ID
     * @return 部门
     */
    public MjDept selectMjDeptById(String id);
 
    /**
     * 查询部门列表
     * 
     * @param mjDept 部门
     * @return 部门集合
     */
    public List<MjDept> selectMjDeptList(MjDept mjDept);
 
    /**
     * 新增部门
     * 
     * @param mjDept 部门
     * @return 结果
     */
    public int insertMjDept(MjDept mjDept);
 
    /**
     * 修改部门
     * 
     * @param mjDept 部门
     * @return 结果
     */
    public int updateMjDept(MjDept mjDept);
 
    /**
     * 批量删除部门
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMjDeptByIds(String ids);
 
    /**
     * 删除部门信息
     * 
     * @param id 部门ID
     * @return 结果
     */
    public int deleteMjDeptById(String id);
 
    String checkDeptNameUnique(MjDept dept);
 
    List<Ztree> selectDeptTree(MjDept mjDept);
}