智慧保安后台管理-外网项目备份
zhongrj
2023-11-30 cc0c0950e1d4a7d8b50aa9a16fb0d1db74053dc1
考试状态和结束时间设置
1 files modified
3 ■■■■■ changed files
src/main/java/org/springblade/modules/simulateexam/service/impl/SimulateExamRecordServiceImpl.java 3 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/simulateexam/service/impl/SimulateExamRecordServiceImpl.java
@@ -338,6 +338,9 @@
            }
            //设置总分
            simulateExamRecord.setScore(count);
            // 考试完成
            simulateExamRecord.setStatus(3);
            simulateExamRecord.setEndTime(new Date());
            //更新模拟考试信息
            this.updateById(simulateExamRecord);
            //返回