package com.template.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.template.model.pojo.SmartScore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.vo.ScorePageVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 楼栋表 Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2024-01-02
 */
@Repository
public interface SmartScoreMapper extends BaseMapper<SmartScore> {
    IPage<ScorePageVo> querySmartScorePage(IPage<ScorePageVo> page, @Param("name") String name,@Param("semester") String semester, @Param("grade") String grade,@Param("schoolClass") String schoolClass,@Param("subject") Integer subject,@Param("examType") Integer examType,@Param("MinScore") Double MinScore,@Param("MaxScore") Double MaxScore);

    List<ScorePageVo> querySmartScores(@Param("name") String name,@Param("semester") String semester, @Param("grade") String grade,@Param("schoolClass") String schoolClass,@Param("subject") Integer subject,@Param("examType") Integer examType,@Param("MinScore") Double MinScore,@Param("MaxScore") Double MaxScore);

}
