接口 SysDictService

  • 所有超级接口:
    cn.wizzer.framework.base.service.BaseService<cn.wizzer.app.sys.modules.models.Sys_dict>

    public interface SysDictService
    extends cn.wizzer.framework.base.service.BaseService<cn.wizzer.app.sys.modules.models.Sys_dict>
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void deleteAndChild​(cn.wizzer.app.sys.modules.models.Sys_dict dict)
      级联删除数据
      String getNameByCode​(String code)
      通过code获取名称
      String getNameById​(String id)
      通过ID获取名称
      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 getSubMapById​(String id)
      通过ID获取子级
      Map getSubMapByPath​(String path)
      通过树PATH获取子级
      void save​(cn.wizzer.app.sys.modules.models.Sys_dict dict, String pid)
      保存数据字典
      • 从接口继承的方法 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

        String getNameByCode​(String code)
        通过code获取名称
        参数:
        code -
        返回:
      • getNameById

        String getNameById​(String id)
        通过ID获取名称
        参数:
        id -
        返回:
      • getSubListByPath

        List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListByPath​(String path)
        通过树PATH获取子级
        参数:
        path -
        返回:
      • getSubListById

        List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListById​(String id)
        通过ID获取子级
        参数:
        id -
        返回:
      • getSubListByCode

        List<cn.wizzer.app.sys.modules.models.Sys_dict> getSubListByCode​(String code)
        通过code获取子级
        参数:
        code -
        返回:
      • getSubMapByPath

        Map getSubMapByPath​(String path)
        通过树PATH获取子级
        参数:
        path -
        返回:
      • getSubMapById

        Map getSubMapById​(String id)
        通过ID获取子级
        参数:
        id -
        返回:
      • getSubMapByCode

        Map getSubMapByCode​(String code)
        通过code获取子级
        参数:
        code -
        返回:
      • save

        void save​(cn.wizzer.app.sys.modules.models.Sys_dict dict,
                  String pid)
        保存数据字典
        参数:
        dict -
        pid -
      • deleteAndChild

        void deleteAndChild​(cn.wizzer.app.sys.modules.models.Sys_dict dict)
        级联删除数据
        参数:
        dict -