接口 DictDataService

所有超级接口:
plus.hiver.common.base.HiverBaseService<DictData,Long>
所有已知实现类:
DictDataServiceImpl

public interface DictDataService extends plus.hiver.common.base.HiverBaseService<DictData,Long>
字典数据接口

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    通过dictId删除
    org.springframework.data.domain.Page<DictData>
    findByCondition(DictData dictData, org.springframework.data.domain.Pageable pageable)
    多条件获取
    通过dictId获取启用字典 已排序
    通过dictId和值获取

    从接口继承的方法 plus.hiver.common.base.HiverBaseService

    count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, get, getAll, getTotalCount, save, saveOrUpdateAll, update
  • 方法详细资料

    • findByCondition

      org.springframework.data.domain.Page<DictData> findByCondition(DictData dictData, org.springframework.data.domain.Pageable pageable)
      多条件获取
      参数:
      dictData - 条件
      pageable - 分页
      返回:
      结果
    • findByDictId

      List<DictData> findByDictId(Long dictId)
      通过dictId获取启用字典 已排序
      参数:
      dictId - 字典ID
      返回:
      字典数据列表
    • deleteByDictId

      void deleteByDictId(Long dictId)
      通过dictId删除
      参数:
      dictId - 字典ID
    • findByDictIdAndValue

      DictData findByDictIdAndValue(Long dictId, String value)
      通过dictId和值获取
      参数:
      dictId - 字典ID
      value - 字典值
      返回:
      字典数据