Package com.bytedesk.core.goods
Interface GoodsRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<GoodsEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<GoodsEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<GoodsEntity>,org.springframework.data.repository.ListCrudRepository<GoodsEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<GoodsEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<GoodsEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<GoodsEntity>,org.springframework.data.repository.Repository<GoodsEntity,Long>
public interface GoodsRepository
extends org.springframework.data.jpa.repository.JpaRepository<GoodsEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<GoodsEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionexistsByUid(String uid) findByNameAndOrgUidAndTypeAndDeletedFalse(String name, String orgUid, String type) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
existsByUid
-
findByNameAndOrgUidAndTypeAndDeletedFalse
Optional<GoodsEntity> findByNameAndOrgUidAndTypeAndDeletedFalse(String name, String orgUid, String type)
-