This commit is contained in:
@@ -44,5 +44,5 @@ public interface LawCaseRepository extends JpaRepository<LawCase, Long> {
|
||||
@Query("SELECT COUNT(lc.id) FROM LawCase lc")
|
||||
Long getTotalLawCasesCount();
|
||||
|
||||
Optional<LawCase> getLawCaseByViolationIdAndType(Long violationId, String lawCaseType);
|
||||
Optional<LawCase> getLawCaseByViolationIdAndType(Long violationId, LawCaseType type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user