@Repository public interface RevisionWorkOrderRepository extends org.springframework.data.jpa.repository.JpaRepository<RevisionWorkOrder,Long>
| Modifier and Type | Method and Description |
|---|---|
RevisionWorkOrder |
findByParent_Id(Long id) |
List<RevisionWorkOrder> |
findByParent_IdAndEgwStatus_codeNotLike(Long id,
String statusCode) |
List<RevisionWorkOrder> |
findByParent_IdAndStatus(Long id,
String status) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAll@Query(value="from RevisionWorkOrder rw where rw.parent.id=:id and rw.egwStatus.code=:status order by rw.id") List<RevisionWorkOrder> findByParent_IdAndStatus(@Param(value="id") Long id, @Param(value="status") String status)
List<RevisionWorkOrder> findByParent_IdAndEgwStatus_codeNotLike(Long id, String statusCode)
RevisionWorkOrder findByParent_Id(Long id)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.