平台件-认证清单批量设置

This commit is contained in:
zhn
2023-09-25 17:17:49 +08:00
parent d880ff6ade
commit 9738091846
@@ -536,7 +536,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI
List<String> 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<SysUser> userInfoList = this.sysUserService.querySysUserListByIdList(userIdList);
oldPciEo.setEndTime(newPciEo.getEndTime());
@@ -793,7 +795,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI
List<String> 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());
}