From f639f6b7f26e33e0a22b310f3cf6070c67ae898f Mon Sep 17 00:00:00 2001 From: zhn <947514737@qq.com> Date: Wed, 3 Jan 2024 09:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=B8=85=E5=8D=95-=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=B9=B3=E5=8F=B0=E4=BB=B6=EF=BC=88=E5=88=A4=E7=A9=BA?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ProjectCertificationInventoryEOServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectCertificationInventoryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectCertificationInventoryEOServiceImpl.java index b277f7ce0..7c7c087f4 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectCertificationInventoryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectCertificationInventoryEOServiceImpl.java @@ -7311,7 +7311,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl projectLibraryBaseList = new ArrayList<>(); - if(!certificationInventoryEOList.isEmpty()){ + if(!certificationInventoryEOList.isEmpty() && !certificationInventoryEOS.isEmpty()){ List projectIdList = certificationInventoryEOS.stream().map(ProjectCertificationInventoryEO::getProjectLibraryId).distinct().collect(Collectors.toList()); LambdaQueryWrapper wrapper2 = new LambdaQueryWrapper<>(); wrapper2.in(ProjectLibraryBase::getId,projectIdList);