@IocBean(args="refer:dao") @Service(interfaceClass=cn.wizzer.app.sys.modules.services.SysDictService.class) @CacheDefaults(cacheName="sys_dict") public class SysDictServiceImpl extends BaseServiceImpl<Sys_dict> implements SysDictService
| 构造器和说明 |
|---|
SysDictServiceImpl(org.nutz.dao.Dao dao) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearCache() |
void |
deleteAndChild(Sys_dict dict)
级联删除单位
|
String |
getNameByCode(String code)
通过code获取name
|
String |
getNameById(String id)
通过id获取name
|
List<Sys_dict> |
getSubListByCode(String code)
通过code获取下级列表
|
List<Sys_dict> |
getSubListById(String id)
通过父id获取下级列表
|
List<Sys_dict> |
getSubListByPath(String path)
通过树path获取下级列表
|
Map |
getSubMapByCode(String code)
通过code获取下级map
|
Map |
getSubMapById(String id)
通过id获取下级map
|
Map |
getSubMapByPath(String path)
通过path获取下级map
|
void |
save(Sys_dict dict,
String pid)
新增字典
|
clear, clear, clear, clear, count, count, count, count, count, data, data, data, data, data, delete, delete, delete, delete, delete, delete, delete, execute, exists, fastInsert, fetch, fetch, fetch, fetchLinks, fetchLinks, fetchx, getEntity, getEntityClass, getField, getField, getField, getField, getMap, getMaxId, getPageNumber, getPageSize, getParentPath, getSubPath, insert, insert, insert, insertLinks, insertOrUpdate, insertOrUpdate, insertRelation, insertWith, list, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPageLinks, listPageLinks, query, query, query, query, query, query, query, query, query, update, update, update, updateAndIncrIfMatch, updateIgnoreNull, updateLinks, updateRelation, updateWith, updateWithVersion, updateWithVersion, vDelete, vDelete, vDelete, vDelete, vDelete_clearLinks, _delete, _deleteLinks, _deleteWith, _fastInsert, _fetch, _fetchLinks, _fetchLinks, _insert, _insert, _insert, _insertLinks, _insertRelation, _insertWith, _query, _query, _update, _update, _updateIgnoreNull, _updateLinks, _updateWith, create, deletex, each, each, func, func, getObject, getObject, insert, mirror, setEntityType, setExpert, updateRelationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, clear, clear, clear, count, count, count, count, count, dao, data, data, data, data, data, delete, delete, delete, delete, delete, delete, delete, execute, exists, fastInsert, fetch, fetch, fetch, fetchLinks, fetchLinks, fetchx, getEntity, getEntityClass, getField, getField, getField, getField, getMap, getMaxId, getParentPath, getSubPath, insert, insert, insert, insertLinks, insertOrUpdate, insertOrUpdate, insertRelation, insertWith, list, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPage, listPageLinks, listPageLinks, query, query, query, query, query, query, query, query, query, update, update, update, updateAndIncrIfMatch, updateIgnoreNull, updateLinks, updateRelation, updateWith, updateWithVersion, updateWithVersion, vDelete, vDelete, vDelete, vDelete, vDelete@CacheResult public String getNameByCode(String code)
getNameByCode 在接口中 SysDictServicecode - @CacheResult public String getNameById(String id)
getNameById 在接口中 SysDictServiceid - @CacheResult public List<Sys_dict> getSubListByPath(String path)
getSubListByPath 在接口中 SysDictServicepath - @CacheResult public List<Sys_dict> getSubListById(String id)
getSubListById 在接口中 SysDictServiceid - @CacheResult public List<Sys_dict> getSubListByCode(String code)
getSubListByCode 在接口中 SysDictServicecode - @CacheResult public Map getSubMapByPath(String path)
getSubMapByPath 在接口中 SysDictServicepath - @CacheResult public Map getSubMapById(String id)
getSubMapById 在接口中 SysDictServiceid - @CacheResult public Map getSubMapByCode(String code)
getSubMapByCode 在接口中 SysDictServicecode - @Aop(value="txREAD_COMMITTED") public void save(Sys_dict dict, String pid)
save 在接口中 SysDictServicedict - pid - @Aop(value="txREAD_COMMITTED") public void deleteAndChild(Sys_dict dict)
deleteAndChild 在接口中 SysDictServicedict - @CacheRemoveAll public void clearCache()
clearCache 在接口中 SysDictServiceCopyright © 2019. All rights reserved.