package com.qmth.distributed.print.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qmth.distributed.print.business.bean.result.analyze.GradeInitResult;
import com.qmth.teachcloud.common.entity.SysUser;

/**
 * @Description: 教研分析对接-数据初始化服务实现类
 * @Author: CaoZixuan
 * @Date: 2022-05-26
 */
public interface GradeInitializeService {

    /**
     * 查询需要分析的试卷
     *
     * @param semesterId  学期id
     * @param examId      考试id
     * @param courseCode  课程编号
     * @param requestUser 请求的命题老师
     * @return 试卷结果
     */
    IPage<GradeInitResult> findNeedAnalyzedPaper(Long semesterId, Long examId, String courseCode, SysUser requestUser,int pageNumber,int pageSize);

    long countByPropositionTeacherId();

    IPage<GradeInitResult> listNeedAnalyzedPaperToWork(SysUser requestUser, Integer pageNumber, Integer pageSize);
}
