he wei
2022-08-10 38b8c02ec8a31ea241c13c9e62beab7f07c26f1e
src/main/java/com/whyc/service/ProductBomService.java
@@ -386,7 +386,7 @@
        //查询出存在替换关系得散装件
        List<ProductBom> replaceBoms=cponentMapper.getReplaceComponent(parentModel);
        if(replaceBoms!=null&&replaceBoms.size()>0){
            list.stream().forEach(replaceBom->{
            replaceBoms.stream().forEach(replaceBom->{
                        //如果存在替换关系,查询出原子件的关联关系(将原子件名称放在oldSubName中)
                        if(replaceBom!=null&&!replaceBom.getSubName().isEmpty()) {
                            //replaceBom表示为替换件