Merge remote-tracking branch 'origin/dev_20230912_Platform' into dev_20230912_Platform
This commit is contained in:
+1
-1
@@ -545,5 +545,5 @@ public class ProjectLawsInventoryEO implements Serializable {
|
||||
private List<ProjectLawsInventoryEO> projectLawsInventoryEOS;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String platformIds;//项目名称
|
||||
private String platformIds;//平台件数据id
|
||||
}
|
||||
|
||||
+10
@@ -12191,9 +12191,14 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
List<LawsInventoryPlatformEO> lawsInventoryPlatformEOS = lawsInventoryPlatformEOService.list(wrapper);
|
||||
List<String> idList = new ArrayList<>();
|
||||
List<ProjectLawsInventoryEO> projectLawsInventoryEOList = new ArrayList<>();
|
||||
List<ProjectLibraryBase> projectLibraryBaseList = new ArrayList<>();
|
||||
if(ObjectUtils.isNotEmpty(lawsInventoryPlatformEOS)){
|
||||
idList = lawsInventoryPlatformEOS.stream().map(LawsInventoryPlatformEO::getPlatformLawsInventoryId).collect(Collectors.toList());
|
||||
projectLawsInventoryEOList = this.listByIds(idList);
|
||||
if(ObjectUtils.isNotEmpty(projectLawsInventoryEOList)){
|
||||
List<String> projectIdList = projectLawsInventoryEOList.stream().map(ProjectLawsInventoryEO::getProjectLibraryId).collect(Collectors.toList());
|
||||
projectLibraryBaseList = projectLibraryBaseService.listByIds(projectIdList);
|
||||
}
|
||||
List<String> userIdList = new ArrayList<>();
|
||||
List<String> collect1 = projectLawsInventoryEOList.stream().map(ProjectLawsInventoryEO::getDesignDutyId).distinct().collect(Collectors.toList());
|
||||
List<String> collect2 = projectLawsInventoryEOList.stream().map(ProjectLawsInventoryEO::getVerifyDutyId).distinct().collect(Collectors.toList());
|
||||
@@ -12228,6 +12233,11 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
}
|
||||
|
||||
for (ProjectLawsInventoryEO projectLawsInventoryEO : projectLawsInventoryEOList) {
|
||||
List<ProjectLibraryBase> libraryBaseList = projectLibraryBaseList.stream()
|
||||
.filter(e -> e.getId().equals(projectLawsInventoryEO.getProjectLibraryId())).collect(Collectors.toList());
|
||||
if(ObjectUtils.isNotEmpty(libraryBaseList)){
|
||||
projectLawsInventoryEO.setProjectName(libraryBaseList.get(0).getProjectNameId());
|
||||
}
|
||||
//流程状态
|
||||
String flowStatus = "";
|
||||
if(FlowFlagEnum.DESIGN.getValue().equals(flowFlag)){//流程标识,点击设计符合性流程状态跳转
|
||||
|
||||
Reference in New Issue
Block a user