xiangpei
2024-06-19 9f9239bcfb791048bd68c4aeda83b0afd6c22c78
src/main/java/com/ycl/jxkg/controller/admin/ExamController.java
@@ -83,8 +83,15 @@
    @GetMapping("/mark/paper/{id}")
    @PreAuthorize("hasAuthority('exam:markPaper')")
    @ApiOperation(value = "获取考试结果信息", notes = "获取考试结果信息")
    public Result getMarkResultInfo(@PathVariable("id") Integer id) {
        return examService.getMarkResultInfo(id);
    }
    @GetMapping("/mark/paper/{examId}/{userId}")
    @PreAuthorize("hasAuthority('exam:markPaper')")
    @ApiOperation(value = "获取阅卷信息", notes = "获取阅卷信息")
    public Result getMarkPaperInfo(@PathVariable("id") Integer id) {
        return examService.getMarkPaperInfo(id);
    public Result getMarkPaperInfo(@PathVariable("examId") Integer examId, @PathVariable("userId") Integer userId) {
        return examService.getMarkPaperInfo(examId, userId);
    }
}