From 30ba276721576deb485745c358e986c7832e9d33 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Tue, 3 Sep 2024 22:48:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B7=A5=E5=85=B7=E9=80=80=E5=9B=9Ebug?= =?UTF-8?q?=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/hzims/spare/service/impl/SpReceivesServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/SpReceivesServiceImpl.java b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/SpReceivesServiceImpl.java index 340a571..6cc60c9 100644 --- a/hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/SpReceivesServiceImpl.java +++ b/hzims-service/assets/src/main/java/com/hnac/hzims/spare/service/impl/SpReceivesServiceImpl.java @@ -241,7 +241,7 @@ public class SpReceivesServiceImpl extends ServiceImpl user = userClient.userInfoById(detail.getCreateUser()); - if(null!=user){ + if(user.isSuccess() && Func.isNotEmpty(user.getData())){ receiveVO.setUserName(user.getData().getName()); } }