项目详情基本信息--认证工程师展示以逗号拼接的形式
This commit is contained in:
+5
-2
@@ -361,9 +361,12 @@ public class ProjectLibraryBaseServiceImpl extends ServiceImpl<ProjectLibraryBas
|
|||||||
certificationEngineerName = sysUsers.stream().filter(e -> data.equals(e.getId()))
|
certificationEngineerName = sysUsers.stream().filter(e -> data.equals(e.getId()))
|
||||||
.map(sysUser -> sysUser.getUsername()).collect(Collectors.joining(","));
|
.map(sysUser -> sysUser.getUsername()).collect(Collectors.joining(","));
|
||||||
}
|
}
|
||||||
certificationName.append(certificationEngineerName).append(" ");
|
certificationName.append(certificationEngineerName).append(",");
|
||||||
|
}
|
||||||
|
if(StringUtils.isNotBlank(certificationName)){
|
||||||
|
String substring = certificationName.substring(0, certificationName.length() - 1);
|
||||||
|
projectLibraryBase.setCertificationEngineerName(substring);
|
||||||
}
|
}
|
||||||
projectLibraryBase.setCertificationEngineerName(certificationName.toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user