|
|
|
@ -9,6 +9,7 @@ import com.ruoyi.system.domain.exam.dto.ExamDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.request.PaperAnswerDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.request.PaperListReqDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.request.PaperQuQueryDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.response.ExamResultRespDTO;
|
|
|
|
|
import com.ruoyi.system.domain.paper.dto.response.PaperListRespDTO;
|
|
|
|
|
import com.ruoyi.system.domain.repo.ElRepo;
|
|
|
|
|
import com.ruoyi.web.controller.manager.PaperManager;
|
|
|
|
@ -104,8 +105,11 @@ public class PaperController extends BaseController {
|
|
|
|
|
@ApiOperation("详情")
|
|
|
|
|
@GetMapping("/paperResult/{paperId}")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult paperResult(@PathVariable("paperId") String paperId) {
|
|
|
|
|
return AjaxResult.success(paperManager.paperResult(paperId));
|
|
|
|
|
public String paperResult(@PathVariable("paperId") String paperId, ModelMap mmap) {
|
|
|
|
|
ExamResultRespDTO examResultRespDTO = paperManager.paperResult(paperId);
|
|
|
|
|
mmap.put("examResultRespDTO", examResultRespDTO);
|
|
|
|
|
return prefix + "/view";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|