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()); } }