| | |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.exam.vo.ExamPaperVO; |
| | | import org.springblade.modules.exam.vo.ExamScoreVO; |
| | | import org.springblade.modules.simulateexam.entity.SimulateExamRecord; |
| | | import org.springblade.modules.simulateexam.service.SimulateExamRecordService; |
| | | import org.springblade.modules.simulateexam.vo.SimulateExamRecordVO; |
| | | import org.springblade.modules.simulateexam.vo.SimulateExamScoreVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | |
| | | return R.data(simulateExamRecordService.getSimulateExamRecordInfo(simulateExamRecord)); |
| | | } |
| | | |
| | | /** |
| | | * 提交考试 |
| | | * |
| | | * @param simulateExamScore 模拟考试成绩信息对象 |
| | | * @return |
| | | */ |
| | | @PostMapping("/saveSimulateExam") |
| | | public R saveSimulateExam(@RequestBody SimulateExamScoreVO simulateExamScore) { |
| | | return R.data(simulateExamRecordService.saveSimulateExam(simulateExamScore)); |
| | | } |
| | | } |