package com.qmth.teachcloud.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qmth.teachcloud.common.entity.BasicUserCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户和课程关联表 Mapper 接口
 * </p>
 *
 * @author xf
 * @since 2021-03-23
 */
public interface BasicUserCourseMapper extends BaseMapper<BasicUserCourse> {

    List<BasicUserCourse> listBySchoolIdAndCourseCode(@Param("schoolId") Long schoolId, @Param("courseCode") String courseCode);
}
