法规清单--导入列表数据处理standId(用于点击标准号跳转)

This commit is contained in:
zhn
2022-09-16 09:27:17 +08:00
parent 743e54d665
commit ea74da2a7f
@@ -6164,7 +6164,14 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
projectLawsInventoryEO.setRegion(collect.get(0).getRegion());//适用地区
projectLawsInventoryEO.setImplementTime(collect.get(0).getImplementTime());//在产车实施日期
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());
}
}
}