类 SysDictServiceImpl
- java.lang.Object
-
- org.nutz.service.Service
-
- org.nutz.service.EntityService<T>
-
- cn.wizzer.framework.base.service.BaseServiceImpl<cn.wizzer.app.sys.modules.models.Sys_dict>
-
- cn.wizzer.app.sys.modules.services.impl.SysDictServiceImpl
-
- 所有已实现的接口:
cn.wizzer.app.sys.modules.services.SysDictService,cn.wizzer.framework.base.service.BaseService<cn.wizzer.app.sys.modules.models.Sys_dict>
@IocBean(args="refer:dao") @Service(interfaceClass=cn.wizzer.app.sys.modules.services.SysDictService.class) public class SysDictServiceImpl extends cn.wizzer.framework.base.service.BaseServiceImpl<cn.wizzer.app.sys.modules.models.Sys_dict> implements cn.wizzer.app.sys.modules.services.SysDictService
-
-
构造器概要
构造器 构造器 说明 SysDictServiceImpl(org.nutz.dao.Dao dao)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddeleteAndChild(cn.wizzer.app.sys.modules.models.Sys_dict dict)级联删除单位StringgetNameByCode(String code)通过code获取nameStringgetNameById(String id)通过id获取nameList<cn.wizzer.app.sys.modules.models.Sys_dict>getSubListByCode(String code)通过code获取下级列表List<cn.wizzer.app.sys.modules.models.Sys_dict>getSubListById(String id)通过父id获取下级列表List<cn.wizzer.app.sys.modules.models.Sys_dict>getSubListByPath(String path)通过树path获取下级列表MapgetSubMapByCode(String code)通过code获取下级mapMapgetSubMapById(String id)通过id获取下级mapMapgetSubMapByPath(String path)通过path获取下级mapvoidsave(cn.wizzer.app.sys.modules.models.Sys_dict dict, String pid)新增单位-
从类继承的方法 cn.wizzer.framework.base.service.BaseServiceImpl
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
-
从类继承的方法 org.nutz.service.EntityService
_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, updateRelation
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 cn.wizzer.framework.base.service.BaseService
clear, 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
-
-
-
-
方法详细资料
-
getNameByCode
public String getNameByCode(String code)
通过code获取name- 指定者:
getNameByCode在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
code-- 返回:
-
getNameById
public String getNameById(String id)
通过id获取name- 指定者:
getNameById在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
id-- 返回:
-
getSubListByPath
public List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListByPath(String path)
通过树path获取下级列表- 指定者:
getSubListByPath在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
path-- 返回:
-
getSubListById
public List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListById(String id)
通过父id获取下级列表- 指定者:
getSubListById在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
id-- 返回:
-
getSubListByCode
public List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListByCode(String code)
通过code获取下级列表- 指定者:
getSubListByCode在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
code-- 返回:
-
getSubMapByPath
public Map getSubMapByPath(String path)
通过path获取下级map- 指定者:
getSubMapByPath在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
path-- 返回:
-
getSubMapById
public Map getSubMapById(String id)
通过id获取下级map- 指定者:
getSubMapById在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
id-- 返回:
-
getSubMapByCode
public Map getSubMapByCode(String code)
通过code获取下级map- 指定者:
getSubMapByCode在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
code-- 返回:
-
save
@Aop("txREAD_COMMITTED") public void save(cn.wizzer.app.sys.modules.models.Sys_dict dict, String pid)新增单位- 指定者:
save在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
dict-pid-
-
deleteAndChild
@Aop("txREAD_COMMITTED") public void deleteAndChild(cn.wizzer.app.sys.modules.models.Sys_dict dict)级联删除单位- 指定者:
deleteAndChild在接口中cn.wizzer.app.sys.modules.services.SysDictService- 参数:
dict-
-
-