From 973809184692009e26dabcf10e4d5b885949d432 Mon Sep 17 00:00:00 2001 From: zhn <947514737@qq.com> Date: Mon, 25 Sep 2023 17:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6-=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=89=B9=E9=87=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...latformProjectCertificationInventoryEOServiceImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/platform/service/impl/PlatformProjectCertificationInventoryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/platform/service/impl/PlatformProjectCertificationInventoryEOServiceImpl.java index 7e9dd96f1..feaf08c34 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/platform/service/impl/PlatformProjectCertificationInventoryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/platform/service/impl/PlatformProjectCertificationInventoryEOServiceImpl.java @@ -536,7 +536,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI List userIdList = new ArrayList<>(); userIdList.add(oldPciEo.getDutyPerson()); if(role == ProjectRoleEnum.STUDIO_ENGINEER.getIntValue()){ - userIdList.addAll(Arrays.asList(projectLibraryBase.getCertificationEngineer().split(","))); + if(StringUtils.isNotBlank(projectLibraryBase.getCertificationEngineer())){ + userIdList.addAll(Arrays.asList(projectLibraryBase.getCertificationEngineer().split(","))); + } } List userInfoList = this.sysUserService.querySysUserListByIdList(userIdList); oldPciEo.setEndTime(newPciEo.getEndTime()); @@ -793,7 +795,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI List userIdList = new ArrayList<>(); userIdList.add(oldPciEo.getDutyPerson()); if(role == ProjectRoleEnum.STUDIO_ENGINEER.getIntValue()){ - userIdList.addAll(Arrays.asList(projectLibraryBase.getCertificationEngineer().split(","))); + if(StringUtils.isNotBlank(projectLibraryBase.getCertificationEngineer())){ + userIdList.addAll(Arrays.asList(projectLibraryBase.getCertificationEngineer().split(","))); + } }else if(role == ProjectRoleEnum.HOMOLOGATION_ENGINEER.getIntValue()){ userIdList.add(projectLibraryBase.getStudioEngineer()); }