类 CodeServiceImpl

java.lang.Object
com.walker.jdbc.service.BaseServiceImpl
com.iplatform.base.service.CodeServiceImpl
所有已实现的接口:
com.walker.jdbc.BaseDao, com.walker.jdbc.service.BaseService

@Service public class CodeServiceImpl extends com.walker.jdbc.service.BaseServiceImpl
数据字典表操作。
  • 嵌套类概要

    从接口继承的嵌套类/接口 com.walker.jdbc.BaseDao

    com.walker.jdbc.BaseDao.RowExecution<T extends Object>
  • 字段概要

    从类继承的字段 com.walker.jdbc.service.BaseServiceImpl

    dao, log
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    execDeleteDictData(Long[] dictCodes)
     
    返回所有代码项集合。
    根据字典类型名称(代码表),返回子代码集合。
    返回代码树结构,需要的列表集合。
    queryOneDictData(long dictCode)
     
    queryOneDictData(String dictType, String value)
    字典表中是否存在给定值一样的字典项。
    queryOneDictType(long dictId)
    获取一个字典类型详情。
    com.walker.db.page.GenericPager<S_dict_data>
    queryPageDictData(String dictType, String dictLabel)
    分页查询数据字典项列表。
    com.walker.db.page.GenericPager<S_dict_type>
    queryPageDictType(String dictName, String dictType, int status, long startTime, long endTime)
    分页返回字典类型(代码表)列表
    返回数据字典所有根集合,即:字典表集合。

    从类继承的方法 com.walker.jdbc.service.BaseServiceImpl

    delete, delete, delete, delete, execBatchUpdate, execCall, execCall, execute, execute, execute, execute, get, get, get, get, get, get, get, get, get, getDao, getMaxOrder, insert, insert, insertBatch, queryForInt, queryForInt, queryForObject, queryForObject, queryListObjectWhereIn, save, save, saveOrder, select, select, select, select, select, select, select, select, select, select, selectAll, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, selectSplit, setDao, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlGeneralQueryPager, sqlListObjectWhereIn, sqlMathQuery, sqlQuery, sqlQuery, sqlQueryListMap, update, update, update, update, update, update, updateBatch

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CodeServiceImpl

      public CodeServiceImpl()
  • 方法详细资料

    • execDeleteDictData

      public void execDeleteDictData(Long[] dictCodes)
    • queryDictTreeList

      public List queryDictTreeList(String dictType)
      返回代码树结构,需要的列表集合。

      为前端展示树结构准备数据,集合已经按照父节点顺序排好顺序。
      参数:
      dictType - 代码类型,如:question_root_catalog
      返回:
    • queryAllCodeItemList

      public List<S_dict_data> queryAllCodeItemList()
      返回所有代码项集合。

      方法用在代码缓存功能。
      返回:
    • queryRootCodeList

      public List<S_dict_type> queryRootCodeList()
      返回数据字典所有根集合,即:字典表集合。

      该方法缓存使用。
      返回:
    • queryOneDictData

      public S_dict_data queryOneDictData(long dictCode)
    • queryOneDictData

      public S_dict_data queryOneDictData(String dictType, String value)
      字典表中是否存在给定值一样的字典项。并返回字典项。
      参数:
      dictType -
      value -
      返回:
    • queryOneDictType

      public S_dict_type queryOneDictType(long dictId)
      获取一个字典类型详情。
      参数:
      dictId - 字典id
      返回:
    • queryPageDictType

      public com.walker.db.page.GenericPager<S_dict_type> queryPageDictType(String dictName, String dictType, int status, long startTime, long endTime)
      分页返回字典类型(代码表)列表
      参数:
      dictName -
      dictType -
      status -
      startTime -
      endTime -
      返回:
    • queryPageDictData

      public com.walker.db.page.GenericPager<S_dict_data> queryPageDictData(String dictType, String dictLabel)
      分页查询数据字典项列表。
      参数:
      dictType - 字典类型(名称)
      dictLabel - 模糊查询字典项名称
      返回:
    • queryDictDataByType

      public List<S_dict_data> queryDictDataByType(String dictType)
      根据字典类型名称(代码表),返回子代码集合。
      参数:
      dictType - 代码类型
      返回: