类 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
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void deleteAndChild​(cn.wizzer.app.sys.modules.models.Sys_dict dict)
      级联删除单位
      String getNameByCode​(String code)
      通过code获取name
      String getNameById​(String id)
      通过id获取name
      List<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获取下级列表
      Map getSubMapByCode​(String code)
      通过code获取下级map
      Map getSubMapById​(String id)
      通过id获取下级map
      Map getSubMapByPath​(String path)
      通过path获取下级map
      void save​(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
      • 从类继承的方法 org.nutz.service.Service

        dao, setDao
      • 从接口继承的方法 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
    • 构造器详细资料

      • SysDictServiceImpl

        public SysDictServiceImpl​(org.nutz.dao.Dao dao)
    • 方法详细资料

      • 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 -