【修改】试题编号,学生进入考试参数返回增加试卷编号
This commit is contained in:
@@ -146,13 +146,14 @@ public class EndStuMonitorUtils {
|
||||
|
||||
|
||||
}
|
||||
//练习下的任务 结束改为 代考 其他为结束
|
||||
if ("0".equals(educationPaperTask.getTaskType())){
|
||||
info.setExamStatus("0");
|
||||
stringRedisTemplate.opsForValue().set(key, JsonUtils.toJsonString(info));
|
||||
}else {
|
||||
//考试下的任务 结束改为 结束 其他为待考
|
||||
if ("1".equals(educationPaperTask.getTaskType())){
|
||||
info.setExamStatus("2");
|
||||
redisTemplate.delete(key);
|
||||
|
||||
}else {
|
||||
info.setExamStatus("0");
|
||||
stringRedisTemplate.opsForValue().set(key, JsonUtils.toJsonString(info));
|
||||
}
|
||||
|
||||
monitorMapper.updateById(info);
|
||||
|
Reference in New Issue
Block a user