package org.springblade.modules.exam.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.springblade.modules.exam.entity.ExamScore;
|
import org.springblade.modules.exam.excel.ExamScoreExcel;
|
import org.springblade.modules.exam.excel.ExportExamScoreExcel;
|
import org.springblade.modules.exam.vo.ExamScoreVO;
|
import org.springblade.modules.exam.vo.UpdateParamVo;
|
import org.springblade.modules.information.vo.InformationVO;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 考试成绩服务类
|
* @author zhongrj
|
*/
|
public interface ExamScoreService extends IService<ExamScore> {
|
|
/**
|
* 自定义分页
|
* @param page
|
* @param examScore
|
* @return
|
*/
|
IPage<ExamScoreVO> selectExamScorePage(IPage<ExamScoreVO> page, ExamScoreVO examScore);
|
|
/**
|
* 详情
|
* @param examScore 考试成绩信息对象
|
* @return
|
*/
|
ExamScoreVO selectExamScoreInfo(ExamScore examScore);
|
|
/**
|
* 保存考试成绩
|
* @param examScore 考试成绩信息对象
|
* @return
|
*/
|
Boolean saveExamScore(ExamScoreVO examScore);
|
|
/**
|
* 导入实操成绩
|
* @param examScoreExcelList
|
* @param isCovered 是否覆盖
|
*/
|
void importExamScore(List<ExamScoreExcel> examScoreExcelList, Boolean isCovered);
|
|
List<Map<String,Object>> scoreStatistics(String deptid,String jurisdiction);
|
List<Map<String,Object>> scoreStatisticssc(String deptid,String jurisdiction);
|
|
/**
|
* 修改成绩信息
|
* @param examScore
|
* @return
|
*/
|
boolean updateByIdAndQualifiee(ExamScore examScore);
|
/**
|
* 自定义分页
|
*
|
* @param page 分页
|
* @return
|
*/
|
IPage<ExamScoreVO> scorePage(IPage page,ExamScoreVO examScore);
|
|
/**
|
* 考试成绩及状态修改
|
* @param updateParamVo
|
*/
|
boolean updateExamScore(UpdateParamVo updateParamVo);
|
|
/**
|
* 考试重置
|
* @param updateParamVo
|
* @return
|
*/
|
boolean refreshTrainExamInfo(UpdateParamVo updateParamVo);
|
|
/**
|
* 按条件查询成绩数据
|
* @param examScoreVO
|
* @return
|
*/
|
List<ExportExamScoreExcel> exportExamScoreList(ExamScoreVO examScoreVO);
|
|
|
/**
|
* 考试状态修改,考试成绩恢复
|
* @param
|
* @return
|
*/
|
Boolean refreshTrainExamScore();
|
|
|
/**
|
* 点击了开始考试后超过60分钟后再考试的,计算之前的考试成绩
|
* @param examScore
|
* @return
|
*/
|
boolean getExamScore(ExamScoreVO examScore);
|
|
/**
|
* 考试情况统计,按月统计各个培训学校考试合格人数和不合格人数
|
* @param
|
*/
|
Object getExamStatisInfo(InformationVO information);
|
|
/**
|
* 查询考试成绩
|
* @return
|
*/
|
List<ExamScore> getExamScoreList();
|
|
/**
|
* 查询考试成绩
|
* @param time
|
* @return
|
*/
|
List<ExamScore> getExamScoreListByTime(String time);
|
}
|