lxw
2022-09-29 4deaba7a9924c132cea872440da7f2894c7e5d16
src/main/java/com/whyc/service/ProductBomService.java
@@ -191,7 +191,7 @@
        }
    }
    //文件夹的拷贝移除productId对应的多送项
    //文件夹的拷贝移除productId对应的被锁定的
    public  void copyDirWithOutProductId(String sourcePathDir, String newPathDir,int productId) {
        File start = new File(sourcePathDir);
        File end = new File(newPathDir);
@@ -204,6 +204,10 @@
        }
        if(filePath.length>=0){
            for(String temp : filePath) {
                //产品下载不包含带有bom的图片
                if(temp.contains("bom")){
                    continue;
                }else{
                //添加满足情况的条件
                if(new File(sourcePathDir + File.separator + temp ).isFile()) {
                    QueryWrapper wrapper=new QueryWrapper();
@@ -219,6 +223,7 @@
                }
            }
        }
        }
    }
    public void updateUrl(List<ProductBomApproving> fileBomApprovingList) {