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

import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.distributed.print.business.bean.params.analyze.GradeModuleEvaluationParam;
import com.qmth.distributed.print.business.bean.result.analyze.GradeModuleEvaluationResult;
import com.qmth.distributed.print.business.entity.GradeModuleEvaluation;
import com.qmth.teachcloud.common.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 校验-考察点模块评价建议表 服务类
 * </p>
 *
 * @author wangliang
 * @since 2022-05-20
 */
public interface GradeModuleEvaluationService extends IService<GradeModuleEvaluation> {

    /**
     * 查询分析维度模块评价
     * @param paperNumber 试卷编号
     * @param paperType 试卷类型
     * @param requestUser 请求用户
     * @return 结果
     */
    List<GradeModuleEvaluationResult> findGradeModuleEvaluation(String paperNumber, String paperType, SysUser requestUser);

    /**
     * 保存分析维度模块评价
     * @param gradeModuleEvaluationParam 模块评价参数
     * @param requestUser 请求用户
     */
    void saveGradeModuleEvaluationBatch(GradeModuleEvaluationParam gradeModuleEvaluationParam,SysUser requestUser);

    List<GradeModuleEvaluation> findBySchoolIdAndPaperNumberAndPaperType(Long schoolId, String paperNumber, String paperType);
}
