package com.izouma.jmrh.repo.stat;

import com.izouma.jmrh.domain.stat.TechTradeStat;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface TechTradeStatRepo extends JpaRepository<TechTradeStat, Long>, JpaSpecificationExecutor<TechTradeStat> {
    Optional<TechTradeStat> findByYearAndMonth(int year, int month);
}