This commit is contained in:
@@ -95,6 +95,4 @@ public interface ViolationRepository extends JpaRepository<Violation, Long> {
|
||||
|
||||
@Query("SELECT COUNT(DISTINCT c.violation.id) FROM ComplaintEntity c WHERE c.violation IS NOT NULL")
|
||||
Long getViolationsWithComplaintCount();
|
||||
|
||||
boolean existsViolation(Violation violation);
|
||||
}
|
||||
Reference in New Issue
Block a user