Interface DictDataService

All Superinterfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<DictData>, 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.repository.IRepository

    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.repository.IRepository

    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, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById

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

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
  • Method Details

    • allDictCache

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

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

      Map<String,List<DictListResponse>> dictLists(List<String> type)
      批量查询数据字典
      Parameters:
      type - 数据字典类型集合
      Returns:
      数据字典返回的map
    • 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:
      分页返回结果