package com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository;

import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.crackdownStatus.CrackdownStatus;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface CrackdownStatusRepository extends JpaRepository<CrackdownStatus, Integer> {
  Optional<CrackdownStatus> findByCdsKey(Integer cdsKey);
  Optional<CrackdownStatus> findTop1ByCaseNum(String caseNum);
}
