法规清单--导入列表数据处理standId(用于点击标准号跳转)
This commit is contained in:
+8
-1
@@ -6164,7 +6164,14 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
projectLawsInventoryEO.setRegion(collect.get(0).getRegion());//适用地区
|
projectLawsInventoryEO.setRegion(collect.get(0).getRegion());//适用地区
|
||||||
projectLawsInventoryEO.setImplementTime(collect.get(0).getImplementTime());//在产车实施日期
|
projectLawsInventoryEO.setImplementTime(collect.get(0).getImplementTime());//在产车实施日期
|
||||||
projectLawsInventoryEO.setXin1Che1Xing2Shi2Shi1Ri4Qi1(collect.get(0).getXin1Che1Xing2Shi2Shi1Ri4Qi1());//新车实施日期
|
projectLawsInventoryEO.setXin1Che1Xing2Shi2Shi1Ri4Qi1(collect.get(0).getXin1Che1Xing2Shi2Shi1Ri4Qi1());//新车实施日期
|
||||||
projectLawsInventoryEO.setStandId(collect.get(0).getId());//新车实施日期
|
projectLawsInventoryEO.setStandId(collect.get(0).getId());
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
//导入列表数据处理standId(用于点击标准号跳转)
|
||||||
|
for (ProjectLawsInventoryEO projectLawsInventoryEO : dataList) {
|
||||||
|
List<BussDocumentLibraryEO> collect = bussDocumentLibraryEOList.stream()
|
||||||
|
.filter(e -> e.getSerialNumber().equals(projectLawsInventoryEO.getSerialNumber())).collect(Collectors.toList());
|
||||||
|
projectLawsInventoryEO.setStandId(collect.get(0).getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user