接口 DictDataDao
- 所有超级接口:
org.springframework.data.repository.CrudRepository<DictData,,Long> plus.hiver.common.base.HiverBaseDao<DictData,,Long> org.springframework.data.jpa.repository.JpaRepository<DictData,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<DictData>,org.springframework.data.repository.ListCrudRepository<DictData,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<DictData,,Long> org.springframework.data.repository.PagingAndSortingRepository<DictData,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<DictData>,org.springframework.data.repository.Repository<DictData,Long>
字典数据数据处理层
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
嵌套类概要
从接口继承的嵌套类/接口 org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
方法概要
修饰符和类型方法说明voiddeleteByDictId(Long dictId) 通过dictId删除findByDictIdAndStatusOrderBySortOrder(Long dictId, Integer status) 通过dictId和状态获取findByDictIdAndValue(Long dictId, String value) 通过dictId和值获取从接口继承的方法 org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOne从接口继承的方法 org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll从接口继承的方法 org.springframework.data.repository.ListPagingAndSortingRepository
findAll从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository
findAll从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
方法详细资料
-
findByDictIdAndStatusOrderBySortOrder
通过dictId和状态获取- 参数:
dictId- 字典IDstatus- 状态- 返回:
- 字典数据列表
-
deleteByDictId
通过dictId删除- 参数:
dictId- 字典ID
-
findByDictIdAndValue
通过dictId和值获取- 参数:
dictId- 字典IDvalue- 字典值- 返回:
- 字典数据
-