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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
package jnpf.base.service;
 
import jnpf.base.entity.SystemEntity;
import jnpf.base.model.AppAuthorizationModel;
import jnpf.permission.model.user.WorkHandoverModel;
 
import java.util.List;
 
/**
 * 系统
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date 2019年9月27日 上午9:18
 */
public interface SystemService extends SuperService<SystemEntity> {
 
    /**
     * 获取列表
     *
     * @return
     */
    List<SystemEntity> getList();
 
    /**
     * 获取系统列表
     *
     * @param keyword
     * @param filterMain
     * @param isList
     * @param moduleAuthorize
     * @return
     */
    List<SystemEntity> getList(String keyword, Boolean filterEnableMark, boolean verifyAuth, Boolean filterMain, boolean isList, List<String> moduleAuthorize);
 
    /**
     * 获取列表
     *
     * @return
     */
    List<SystemEntity> getListByIdsKey(List<String> ids, String keyword);
 
    /**
     * 获取详情
     *
     * @param id
     * @return
     */
    SystemEntity getInfo(String id);
 
    /**
     * 判断系统名称是否重复
     *
     * @param id
     * @param fullName
     * @return
     */
    Boolean isExistFullName(String id, String fullName);
 
    /**
     * 判断系统编码是否重复
     *
     * @param id
     * @param enCode
     * @return
     */
    Boolean isExistEnCode(String id, String enCode);
 
    /**
     * 新建
     *
     * @param entity
     * @return
     */
    Boolean create(SystemEntity entity);
 
    /**
     * 新建
     *
     * @param entity
     * @return
     */
    Boolean update(String id, SystemEntity entity);
 
    /**
     * 删除
     *
     * @param id
     * @return
     */
    Boolean delete(String id);
 
    /**
     * 通过id获取系统列表
     *
     * @param list
     * @param moduleAuthorize
     * @return
     */
    List<SystemEntity> getListByIds(List<String> list, List<String> moduleAuthorize);
 
    /**
     * 通过编码获取系统信息
     *
     * @param enCode
     * @return
     */
    SystemEntity getInfoByEnCode(String enCode);
 
    /**
     * 获取
     *
     * @param moduleAuthorize
     * @return
     */
    List<SystemEntity> findSystemAdmin(List<String> moduleAuthorize);
 
    boolean saveSystemAuthorizion(AppAuthorizationModel model);
 
    /**
     * 获取当前用户有编辑权限的应用
     *
     * @param userId
     * @param isStand 是否判断当前身份
     * @return
     */
    List<SystemEntity> getAuthListByUser(String userId, Boolean isStand);
 
    /**
     * 工作交接-交接应用
     *
     * @param workHandoverModel
     */
    void workHandover(WorkHandoverModel workHandoverModel);
 
    void changeSystemAuthorizion(AppAuthorizationModel model);
 
    List<SystemEntity> getListByIds(List<String> systemId, List<String> moduleAuthorize, int type);
 
    /**
     * 获取当前用户创建应用所有菜单id
     *
     * @param userId
     * @return
     */
    List<SystemEntity> getListByCreUser(String userId);
}