平台件-认证清单批量设置
This commit is contained in:
+6
-2
@@ -536,7 +536,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI
|
|||||||
List<String> userIdList = new ArrayList<>();
|
List<String> userIdList = new ArrayList<>();
|
||||||
userIdList.add(oldPciEo.getDutyPerson());
|
userIdList.add(oldPciEo.getDutyPerson());
|
||||||
if(role == ProjectRoleEnum.STUDIO_ENGINEER.getIntValue()){
|
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);
|
List<SysUser> userInfoList = this.sysUserService.querySysUserListByIdList(userIdList);
|
||||||
oldPciEo.setEndTime(newPciEo.getEndTime());
|
oldPciEo.setEndTime(newPciEo.getEndTime());
|
||||||
@@ -793,7 +795,9 @@ public class PlatformProjectCertificationInventoryEOServiceImpl extends ServiceI
|
|||||||
List<String> userIdList = new ArrayList<>();
|
List<String> userIdList = new ArrayList<>();
|
||||||
userIdList.add(oldPciEo.getDutyPerson());
|
userIdList.add(oldPciEo.getDutyPerson());
|
||||||
if(role == ProjectRoleEnum.STUDIO_ENGINEER.getIntValue()){
|
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()){
|
}else if(role == ProjectRoleEnum.HOMOLOGATION_ENGINEER.getIntValue()){
|
||||||
userIdList.add(projectLibraryBase.getStudioEngineer());
|
userIdList.add(projectLibraryBase.getStudioEngineer());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user