ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package jnpf.permission.service;
 
import jnpf.base.service.SuperService;
import jnpf.permission.entity.PositionEntity;
import jnpf.permission.entity.RoleEntity;
import jnpf.permission.entity.StandingEntity;
import jnpf.permission.model.standing.StandingPagination;
 
import java.util.List;
 
/**
 * 身份管理service
 *
 * @author JNPF开发平台组
 * @version v6.0.0
 * @copyright 引迈信息技术有限公司
 * @date 2025/3/4 18:23:22
 */
public interface StandingService extends SuperService<StandingEntity> {
 
    /**
     * 列表
     *
     * @param pagination 关键字
     * @return
     */
    List<StandingEntity> getList(StandingPagination pagination);
 
    /**
     * 创建
     *
     * @param entity
     */
    void crete(StandingEntity entity);
 
    /**
     * 修改
     *
     * @param id
     * @param entity
     */
    Boolean update(String id, StandingEntity entity);
 
 
    /**
     * 详情
     *
     * @param id
     * @return
     */
    StandingEntity getInfo(String id);
 
    /**
     * 删除
     *
     * @param entity
     */
    void delete(StandingEntity entity);
 
    /**
     * 判断名称是否重复
     *
     * @param fullName
     * @param id
     * @return
     */
    Boolean isExistByFullName(String fullName, String id);
 
    /**
     * 判断编码是否重复
     *
     * @param enCode
     * @param id
     * @return
     */
    Boolean isExistByEnCode(String enCode, String id);
 
    /**
     * 获取身份列表
     *
     * @param idList 身份主键列表
     * @return
     */
    List<StandingEntity> getListByIds(List<String> idList);
 
    /**
     * 获取角色列表
     *
     * @param pagination
     * @return
     */
    List<RoleEntity> getRolePage(StandingPagination pagination);
 
    /**
     * 获取岗位列表
     *
     * @param pagination
     * @return
     */
    List<PositionEntity> getPosPage(StandingPagination pagination);
}