认证清单关联平台件

This commit is contained in:
zhn
2023-09-21 14:16:05 +08:00
parent 4c836792ee
commit 37473c03f1
@@ -6898,7 +6898,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
//如果车型项目库中的配置项为空或为标配时不去匹配直接关联
if(StringUtils.isBlank(configItem) || "标配".equals(configItem)){
if(!certificationInventoryEOS.isEmpty()){
result = setData(certificationInventoryEOS, projectCertificationInventoryEOList, projectCertificationInventoryEO);
result = setData(certificationInventoryEOS, projectCertificationInventoryEO);
}
}else if(StringUtils.isNotBlank(configItem) && !"标配".equals(configItem)){
//如果车型项目库中的配置项不为空且不为标配时如果车型项目库认证清单的配置项与平台件认证清单的配置项不一致则不再匹配
@@ -6934,7 +6934,7 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
}
}
if(!projectCertificationInventoryEOS.isEmpty()){
result = setData(certificationInventoryEOS, projectCertificationInventoryEOS, projectCertificationInventoryEO);
result = setData(projectCertificationInventoryEOS, projectCertificationInventoryEO);
}
}
if(!result.isEmpty()){
@@ -6944,7 +6944,6 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
}
private List<ProjectCertificationInventoryEO> setData(List<ProjectCertificationInventoryEO> certificationInventoryEOS,
List<ProjectCertificationInventoryEO> projectCertificationInventoryEOList,
ProjectCertificationInventoryEO projectCertificationInventoryEO) {
List<ProjectCertificationInventoryEO> projectCertificationInventoryEOS = new ArrayList<>();
//设置平台件认证清单数据