|
|
@@ -13,6 +13,7 @@ import com.ruoyi.ie.service.IAMarjorPlanService;
|
|
|
import com.ruoyi.learn.domain.AnswerSheet;
|
|
|
import com.ruoyi.learn.domain.LearnExaminee;
|
|
|
import com.ruoyi.learn.domain.LearnPaper;
|
|
|
+import com.ruoyi.learn.domain.PaperVO;
|
|
|
import com.ruoyi.learn.service.ILearnExamineeService;
|
|
|
import com.ruoyi.learn.service.ILearnPaperService;
|
|
|
import com.ruoyi.system.service.ISysUserService;
|
|
|
@@ -59,20 +60,22 @@ public class FrontExamController {
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("02 交卷")
|
|
|
+ @PostMapping(value = "commitExamineePaper")
|
|
|
+ public AjaxResult commitExamineePaper(@RequestBody PaperVO paperDto) {
|
|
|
+// if (MxjbContants.ExamineeTypeIeValue.equals(paperDto.getExamineeType())) {
|
|
|
+// return mxjbPaperExamService.saveExamPaper(paperDto);
|
|
|
+// }
|
|
|
+// return syTestMajorService.saveTestPaper(paperDto);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
/*@ApiOperation("02 答题")
|
|
|
@PostMapping(value = "commitExamineeQuestion")
|
|
|
public AjaxResult commitExamineeQuestion(@RequestBody PaperDto paperDto) {
|
|
|
return adminExaminationService.saveQuestion(paperDto);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("02 交卷")
|
|
|
- @PostMapping(value = "commitExamineePaper")
|
|
|
- public AjaxResult commitExamineePaper(@RequestBody PaperDto paperDto) {
|
|
|
- if (MxjbContants.ExamineeTypeIeValue.equals(paperDto.getExamineeType())) {
|
|
|
- return mxjbPaperExamService.saveExamPaper(paperDto);
|
|
|
- }
|
|
|
- return syTestMajorService.saveTestPaper(paperDto);
|
|
|
- }
|
|
|
|
|
|
@ApiOperation("04 阅卷打分")
|
|
|
@PostMapping(value = "scoreExamineeQuestions")
|