认证清单-添加平台件(判空)
This commit is contained in:
+1
-1
@@ -7311,7 +7311,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
||||
|
||||
//平台件项目信息
|
||||
List<ProjectLibraryBase> projectLibraryBaseList = new ArrayList<>();
|
||||
if(!certificationInventoryEOList.isEmpty()){
|
||||
if(!certificationInventoryEOList.isEmpty() && !certificationInventoryEOS.isEmpty()){
|
||||
List<String> projectIdList = certificationInventoryEOS.stream().map(ProjectCertificationInventoryEO::getProjectLibraryId).distinct().collect(Collectors.toList());
|
||||
LambdaQueryWrapper<ProjectLibraryBase> wrapper2 = new LambdaQueryWrapper<>();
|
||||
wrapper2.in(ProjectLibraryBase::getId,projectIdList);
|
||||
|
||||
Reference in New Issue
Block a user