public interface CompanyTenantRelAuditDao extends org.springframework.data.jpa.repository.JpaRepository<CompanyTenantRelAudit,java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<CompanyTenantRelAudit>
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.List<CompanyTenantRelAudit> |
findAuditsByRelId(long relId,
int onSwitches) |
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushcount, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save@Query(value="select * from company_tenant_rel_audit where rel_id = :relId and (switch_additions & :onSwitches) > 0 order by create_time desc",
nativeQuery=true)
java.util.List<CompanyTenantRelAudit> findAuditsByRelId(@Param(value="relId")
long relId,
@Param(value="onSwitches")
int onSwitches)