From 2365aaa6e4180a6f18499a6a2dc26052638380e7 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期三, 30 七月 2025 08:08:21 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMast.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java index 83298e9..6f35eb9 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMast.java +++ b/src/main/java/com/zy/asrs/entity/WrkMast.java @@ -446,7 +446,10 @@ UserService service = SpringUtils.getBean(UserService.class); User user = service.selectById(this.modiUser); if (!Cools.isEmpty(user)){ - return String.valueOf(user.getUsername()); + if(Cools.isEmpty(user.getNickname())){ + return String.valueOf(user.getUsername()); + } + return String.valueOf(user.getNickname()); } return null; } -- Gitblit v1.9.1