Interface DictDataService

All Superinterfaces:
com.baomidou.mybatisplus.extension.service.IService<DictData>
All Known Implementing Classes:
DictDataServiceImpl

public interface DictDataService extends com.baomidou.mybatisplus.extension.service.IService<DictData>
字典数据表 服务类
Since:
2022-09-14 12:51:35
  • Field Summary

    Fields inherited from interface com.baomidou.mybatisplus.extension.service.IService

    DEFAULT_BATCH_SIZE
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,List<cn.sinozg.applet.common.core.model.DictDataVo>>
    获取到所有的数据字典
    cn.sinozg.applet.common.core.base.BaseResponse<List<DictData>>
    dictDataPage(cn.sinozg.applet.common.core.base.PagingRequest page, DictDataPageRequest request)
    分页查询
    获取的某一个类型的数据字典

    Methods inherited from interface com.baomidou.mybatisplus.extension.service.IService

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateById
  • Method Details

    • allDictCache

      Map<String,List<cn.sinozg.applet.common.core.model.DictDataVo>> allDictCache()
      获取到所有的数据字典
      Returns:
      数据字典集合
    • dictList

      List<DictListResponse> dictList(String type)
      获取的某一个类型的数据字典
      Parameters:
      type - 数据字典类型
      Returns:
      数据字典集合
    • dictDataPage

      cn.sinozg.applet.common.core.base.BaseResponse<List<DictData>> dictDataPage(cn.sinozg.applet.common.core.base.PagingRequest page, DictDataPageRequest request)
      分页查询
      Parameters:
      page - 分页
      request - 请求参数
      Returns:
      分页返回结果