feat:添加判断

pg_adapter
wangxy 9 months ago
parent 2a045a24a9
commit 06d162d5a4

@ -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

Loading…
Cancel
Save