From 3a3eb12ec02d56f072f77369063ecad9dfa125b2 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Tue, 1 Apr 2025 21:17:19 +0800 Subject: [PATCH] =?UTF-8?q?add:=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=94=A8=E6=88=B7id=E4=B8=BAnull=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basicdata/service/impl/BasicdataTrayServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java index 344a3eee0..890b25e11 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTrayServiceImpl.java @@ -173,7 +173,7 @@ public class BasicdataTrayServiceImpl extends BaseServiceImpl operateUserIds = records.stream().map(BasicdataStockArticleVO::getOperateUser).collect(Collectors.toList()); List listR = new ArrayList<>(); - if (CollUtil.isEmpty(operateUserIds)) { + if (CollUtil.isNotEmpty(operateUserIds)) { R> temp = userClient.userInfoByIds(AuthUtil.getTenantId(), CollUtil.join(operateUserIds, StrUtil.COMMA)); if (temp.isSuccess() && temp.getData() != null) { listR.addAll(temp.getData()); @@ -185,9 +185,7 @@ public class BasicdataTrayServiceImpl extends BaseServiceImpl