public interface SettleTemplateAttributeDao extends org.springframework.data.jpa.repository.JpaRepository<SettleTemplateAttribute,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<SettleTemplateAttribute>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByTemplateId(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(rollbackFor=java.lang.Exception.class)
@Modifying(flushAutomatically=true,
clearAutomatically=true)
@Query(value="delete from SettleTemplateAttribute attr where attr.templateId = :templateId")
void deleteByTemplateId(@Param(value="templateId")
long templateId)