@Repository public interface ActivityRepository extends org.springframework.data.jpa.repository.JpaRepository<Activity,Long>
| Modifier and Type | Method and Description |
|---|---|
List<Activity> |
findByAbstractEstimate_IdAndRevisionType(Long abstractEstimateId,
RevisionType nonTenderderRevisionType,
RevisionType lumpSumRevisionType) |
List<Activity> |
findByParent_Id(Long parentId) |
List<Activity> |
findByParent_IdAndAbstractEstimate_EgwStatus_Code(Long parentId,
String estimateStatus) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllList<Activity> findByParent_IdAndAbstractEstimate_EgwStatus_Code(Long parentId, String estimateStatus)
@Query(value="select a from Activity a where a.abstractEstimate.id =:abstractEstimateId and a.revisionType in(:nonTenderderRevisionType,:lumpSumRevisionType)") List<Activity> findByAbstractEstimate_IdAndRevisionType(@Param(value="abstractEstimateId") Long abstractEstimateId, @Param(value="nonTenderderRevisionType") RevisionType nonTenderderRevisionType, @Param(value="lumpSumRevisionType") RevisionType lumpSumRevisionType)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.