package com.YuyeTech.TPlat.repository;

import com.YuyeTech.TPlat.dataobject.LevelCondition;
import com.YuyeTech.TPlat.dataobject.LevelHonor;
import com.YuyeTech.TPlat.dto.LevelConditionDTO;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author:slambb
 * @date:2021/8/4
 */
public interface LevelConditionRepository extends JpaRepository<LevelCondition,Integer>{
    LevelConditionDTO findByTypeAndLimitType(Integer type, Integer limitType);

    List<LevelConditionDTO> findByTypeAndLimitTypeIn(Integer type,List<Integer> limitTypes);


}
