public interface CompanyApplyDao extends org.springframework.data.jpa.repository.JpaRepository<CompanyApply,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<CompanyApply>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteById(java.lang.Long id) |
java.util.List<CompanyApply> |
findByTaxNum(java.lang.String taxNum) |
java.util.List<CompanyApply> |
findByTenantIdAndTaxNum(java.lang.Long tenantId,
java.lang.String taxNum)
根据租户ID和税号查询是否申请
|
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushcount, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, save@Transactional
@Modifying(clearAutomatically=true)
@Query(value="delete from CompanyApply ca where ca.companyApplyId = :companyApplyId")
void deleteById(@Param(value="companyApplyId")
java.lang.Long id)
deleteById 在接口中 org.springframework.data.repository.CrudRepository<CompanyApply,java.lang.Long>@Transactional(readOnly=true) java.util.List<CompanyApply> findByTaxNum(java.lang.String taxNum)
@Transactional(readOnly=true) java.util.List<CompanyApply> findByTenantIdAndTaxNum(java.lang.Long tenantId, java.lang.String taxNum)
tenantId - 租户IDtaxNum - 税号