feat:添加判断

pg_adapter
wangxy 9 months ago
parent 992ce097ff
commit 563d0b2720

@ -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<PaperQuDetailDTO> quList = paperQuService.listForPaperResult(paperId);
respDTO.setQuList(quList);

Loading…
Cancel
Save