智慧保安后台管理-外网项目备份
钟日健
2026-06-01 62eb499b0c969f246d3245d1429a97da4de1ce28
src/main/java/org/springblade/modules/simulateexam/controller/SimulateExamRecordController.java
@@ -9,9 +9,11 @@
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.*;
/**
@@ -127,4 +129,14 @@
      return R.data(simulateExamRecordService.getSimulateExamRecordInfo(simulateExamRecord));
   }
   /**
    * 提交考试
    *
    * @param simulateExamScore 模拟考试成绩信息对象
    * @return
    */
   @PostMapping("/saveSimulateExam")
   public R saveSimulateExam(@RequestBody SimulateExamScoreVO simulateExamScore) {
      return R.data(simulateExamRecordService.saveSimulateExam(simulateExamScore));
   }
}