|
|
|
@ -103,16 +103,22 @@ public class PaperController extends BaseController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("详情")
|
|
|
|
|
@GetMapping("/paperResult/{paperId}")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public String paperResult(@PathVariable("paperId") String paperId, ModelMap mmap) {
|
|
|
|
|
ExamResultRespDTO examResultRespDTO = paperManager.paperResult(paperId);
|
|
|
|
|
mmap.put("examResultRespDTO", examResultRespDTO);
|
|
|
|
|
@GetMapping("/toView/{paperId}")
|
|
|
|
|
public String toView(@PathVariable("paperId") String paperId, ModelMap mmap) {
|
|
|
|
|
mmap.put("paperId", paperId);
|
|
|
|
|
return prefix + "/view";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("详情")
|
|
|
|
|
@GetMapping("/paperResult/{paperId}")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult paperResult(@PathVariable("paperId") String paperId) {
|
|
|
|
|
return AjaxResult.success( paperManager.paperResult(paperId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("检测进行中的考试")
|
|
|
|
|
@GetMapping("/checkProcess")
|
|
|
|
|
@ResponseBody
|
|
|
|
|