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
package jnpf.base.service;
 
import jnpf.base.Pagination;
import jnpf.base.entity.ModuleColumnEntity;
import jnpf.base.model.form.ModuleFormApiModel;
 
import java.util.List;
 
/**
 * 列表权限
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date 2019年9月27日 上午9:18
 */
 
public interface ModuleColumnService extends SuperService<ModuleColumnEntity> {
 
    /**
     * 列表
     *
     * @return ignore
     */
    List<ModuleColumnEntity> getList();
 
    /**
     * 列表
     *
     * @return ignore
     */
    List<ModuleColumnEntity> getEnabledMarkList(String enabledMark);
 
    /**
     * 列表
     *
     * @param moduleId   功能主键
     * @param pagination 分页参数
     * @return ignore
     */
    List<ModuleColumnEntity> getList(String moduleId, Pagination pagination);
 
    /**
     * 列表
     *
     * @param moduleId 功能主键
     * @return ignore
     */
    List<ModuleColumnEntity> getList(String moduleId);
 
 
    /**
     * 信息
     *
     * @param id 主键值
     * @return ignore
     */
    ModuleColumnEntity getInfo(String id);
 
    /**
     * 通过id和菜单id获取详情
     *
     * @param id       主键值
     * @param moduleId
     * @return
     */
    ModuleColumnEntity getInfo(String id, String moduleId);
 
    /**
     * 验证名称
     *
     * @param moduleId 功能主键
     * @param fullName 名称
     * @param id       主键值
     * @return ignore
     */
    boolean isExistByFullName(String moduleId, String fullName, String id);
 
    /**
     * 验证编码
     *
     * @param moduleId 功能主键
     * @param enCode   编码
     * @param id       主键值
     * @return ignore
     */
    boolean isExistByEnCode(String moduleId, String enCode, String id);
 
    /**
     * 创建
     *
     * @param entity 实体对象
     */
    void create(ModuleColumnEntity entity);
 
    /**
     * 创建
     *
     * @param entitys 实体对象
     */
    void create(List<ModuleColumnEntity> entitys);
 
    /**
     * 更新
     *
     * @param id     主键值
     * @param entity 实体对象
     */
    boolean update(String id, ModuleColumnEntity entity);
 
    /**
     * 删除
     *
     * @param entity 实体对象
     */
    void delete(ModuleColumnEntity entity);
 
    /**
     * 通过moduleIds获取权限
     *
     * @param ids
     * @return
     */
    List<ModuleColumnEntity> getListByModuleId(List<String> ids,Integer typr);
 
    /**
     * 通过moduleIds获取权限
     *
     * @return
     */
    List<ModuleColumnEntity> getListByModuleId(ModuleFormApiModel model);
 
    /**
     * 通过moduleIds获取权限
     *
     * @param ids
     * @return
     */
    List<ModuleColumnEntity> getListByIds(List<String> ids);
}