From 796103a3913320b81a5769ef3b643109be82b6aa Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期五, 15 八月 2025 14:49:35 +0800
Subject: [PATCH] #优先整托出库,其次拣选

---
 src/main/java/com/zy/asrs/entity/WrkMastLog.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMastLog.java b/src/main/java/com/zy/asrs/entity/WrkMastLog.java
index f9d53fa..6073321 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMastLog.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMastLog.java
@@ -463,6 +463,9 @@
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.modiUser);
         if (!Cools.isEmpty(user)){
+            if(Cools.isEmpty(user.getNickname())){
+                return String.valueOf(user.getUsername());
+            }
             return String.valueOf(user.getNickname());
         }
         return null;

--
Gitblit v1.9.1