SubjectSemesterMapper.java 1.13 KB
package com.meishu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.semester.GetStudentDetailDTO;
import com.meishu.dto.semester.GetStudentRecordDTO;
import com.meishu.model.SubjectSemesterDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.vo.semester.GetSemesterScoreVO;
import com.meishu.vo.semester.GetStudentDetailVO;
import com.meishu.vo.semester.GetStudentRecordVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2021-08-11
 */
@Repository
public interface SubjectSemesterMapper extends BaseMapper<SubjectSemesterDO> {

    IPage<GetSemesterScoreVO> getSemesterScore(IPage page, String semester, String grade,String classes,String session, String subject, String userName);

    List<GetSemesterScoreVO> exportScore(String semester,String grade,String classes,String session, String subject, String userName);

    IPage<GetStudentDetailVO> getStudentDetail(IPage page, Integer id, Integer userId);

    List<GetStudentRecordVO> getStudentRecord(GetStudentRecordDTO getStudentRecordDTO);

}