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