package com.ym.mec.biz.dal.dao;

import com.ym.mec.biz.dal.entity.TeacherDefaultVipGroupSalary;
import com.ym.mec.common.dal.BaseDAO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDefaultVipGroupSalaryDao extends BaseDAO<Long, TeacherDefaultVipGroupSalary> {

    /**
     * @Author: Joburgess
     * @Date: 2019/10/2
     * 根据教师和课程类型获取老师vip课默认薪酬
     */
    TeacherDefaultVipGroupSalary findByTeacherAndCategory(@Param("userId") Long userId,
                                                          @Param("categoryId") Long categoryId);

}