学生名成从用户名改为中文名

This commit is contained in:
luyuan 2021-03-26 11:38:26 +08:00
parent f1dacb165a
commit ba2a295f09
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -44,7 +44,7 @@ public class ExamPaperAnswerController extends BaseApiController {
vm.setSubjectName(subject.getName()); vm.setSubjectName(subject.getName());
vm.setCreateTime(DateTimeUtil.dateFormat(e.getCreateTime())); vm.setCreateTime(DateTimeUtil.dateFormat(e.getCreateTime()));
User user = userService.selectById(e.getCreateUser()); User user = userService.selectById(e.getCreateUser());
vm.setUserName(user.getUserName()); vm.setUserName(user.getRealName());
return vm; return vm;
}); });
return RestResponse.ok(page); return RestResponse.ok(page);