Interface FundOrderRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FundOrder,,Integer> JpaRepository<FundOrder,,Integer> org.springframework.data.repository.ListCrudRepository<FundOrder,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<FundOrder,,Integer> org.springframework.data.repository.PagingAndSortingRepository<FundOrder,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<FundOrder>,org.springframework.data.repository.Repository<FundOrder,Integer>
- Author:
- TingXD (chen19990627)
-
Method Summary
Modifier and TypeMethodDescriptioncountMembers(Integer projectID) findByMemberID(Integer memberID) findByTickitID(String tickitID) memberIDList(Integer projectID) 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.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
-
findByMemberID
-
findByTickitID
@Query(value="select * from fundingOrder where tickitID= :t", nativeQuery=true) FundOrder findByTickitID(@Param("t") String tickitID) -
countMembers
@Query(value="select count(*) from fundingOrder where projectID= :p", nativeQuery=true) Integer countMembers(@Param("p") Integer projectID) -
memberIDList
-
isDonated
-