public interface SettleFlowTemplateRelDao extends org.springframework.data.jpa.repository.JpaRepository<SettleFlowTemplateRel,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<SettleFlowTemplateRel>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByFlowId(long flowId) |
SettleFlowTemplateRel |
findAndByFlowIdAndTemplateId(long flowId,
java.lang.Long templateId) |
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushcount, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save@Transactional(readOnly=true) @Query(value="select rel from SettleFlowTemplateRel rel where rel.flowId = :flowId and rel.templateId = :templateId") SettleFlowTemplateRel findAndByFlowIdAndTemplateId(@Param(value="flowId") long flowId, @Param(value="templateId") java.lang.Long templateId)
@Transactional
@Modifying(clearAutomatically=true)
@Query(value="delete from SettleFlowTemplateRel rel where rel.flowId = :flowId")
void deleteByFlowId(@Param(value="flowId")
long flowId)