From 563d0b2720c71a2f827760c33cb4e5157cd75c6e Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Mon, 8 Jul 2024 16:48:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/manager/PaperManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/PaperManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/PaperManager.java index 23fa78f..0b8d154 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/PaperManager.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/PaperManager.java @@ -494,7 +494,7 @@ public class PaperManager { // 试题基本信息 ElPaper paper = paperService.getById(paperId); ExamResultRespDTO respDTO = Convert.convert(ExamResultRespDTO.class, paper); - SysUser user = userService.getById(paper.getUserId()); + SysUser user = userService.selectUserById(respDTO.getUserId()); respDTO.setUserName(user.getUserName()); List quList = paperQuService.listForPaperResult(paperId); respDTO.setQuList(quList);