package com.template.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.evaluate.teacher.SmartEvaluateTeacher;
import com.template.model.vo.EvaluateTeacherVo;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2024-01-02
 */
@Repository
public interface SmartEvaluateTeacherMapper extends BaseMapper<SmartEvaluateTeacher> {

    Double getAvgLowingScore(@RequestParam("term") String term);

    List<EvaluateTeacherVo> smartTopTeacherList();
}
