public class PermServiceImpl extends EModelService<Perm> implements PermService
dao| 构造器和说明 |
|---|
PermServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
deleteById(String idValue)
物理删除(按ID)
|
Perm |
findByCode(String code)
按别名检索
|
Perm |
findById(String id)
按主键ID检索
|
List<Perm> |
findByIda(String... ids)
按多个主键ID检索
|
Perm |
findInCompByCode(String domain,
String code)
在指定子域内,根据代码查找
|
List<Perm> |
getByComp()
返回租户的全部权限
|
List<Perm> |
getByModule(String moduleCode)
返回指定模块的所有权限
|
void |
importJson(String domain,
String moduleCode)
初始化
|
void |
importJson(String domain,
String moduleCode,
String json)
JSON导入
|
int |
imports(String moduleCode,
File file,
boolean repeatCode)
Excel导入
|
boolean |
save(Perm model)
保存
|
boolean |
update(Perm model)
更新
|
able, batchSave, batchUpdate, dbo, deleteByCodes, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCodea, findByCodes, findByDomain, findByDomainSingle, findByIds, getConfigName, paginate, paginate, removeRepeat, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst$comp, $domain, $logined, $uid, $user, $UUID, append, append, join, parseModel, parseRecordsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitable, batchSave, batchUpdate, deleteByCodes, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCodea, findByCodes, findByDomain, findByDomainSingle, findByIds, paginate, paginate, removeRepeat, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirstpublic Perm findById(String id)
EModelServicefindById 在接口中 IModelService<Perm>findById 在类中 EModelService<Perm>id - 主键IDpublic List<Perm> findByIda(String... ids)
EModelServicefindByIda 在接口中 IModelService<Perm>findByIda 在类中 EModelService<Perm>ids - 主键ID列表,数组或者不定个数参数public Perm findByCode(String code)
EModelServicefindByCode 在接口中 IModelService<Perm>findByCode 在类中 EModelService<Perm>code - 别名public List<Perm> getByModule(String moduleCode)
PermServicegetByModule 在接口中 PermServicepublic List<Perm> getByComp()
PermServicegetByComp 在接口中 PermServicepublic boolean save(Perm model)
EModelServicesave 在接口中 IModelService<Perm>save 在类中 EModelService<Perm>public boolean update(Perm model)
EModelServiceupdate 在接口中 IModelService<Perm>update 在类中 EModelService<Perm>public boolean deleteById(String idValue)
EModelServicedeleteById 在接口中 IModelService<Perm>deleteById 在类中 EModelService<Perm>public int imports(String moduleCode, File file, boolean repeatCode)
PermServiceimports 在接口中 PermServicepublic Perm findInCompByCode(String domain, String code)
PermServicefindInCompByCode 在接口中 PermServicepublic void importJson(String domain, String moduleCode)
PermServiceimportJson 在接口中 PermServicepublic void importJson(String domain, String moduleCode, String json)
PermServiceimportJson 在接口中 PermServiceCopyright © 2023. All rights reserved.