fuliqi
2024-06-25 0fb6563de530e5278356f7557480764cb59942c5
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);
    }
}