package com.ssj.dao.sys.teacher.dao;

import com.ssj.bean.sys.teacher.domain.OnlineTeacherWeight;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author yrf
 * @date 2019/5/9 10:35
 */
@Repository
public interface OnlineTeacherWeightDao extends JpaRepository<OnlineTeacherWeight, String> {

    OnlineTeacherWeight findTopByTeacherIdAndSchoolNameAndGrade(String teacherId, String school, String grade);
}
