yaozhixue il y a 1 an
Parent
commit
6b931083f7

+ 3 - 3
src/main/java/com/zfire/jiasm/syncdata/service/impl/OrderBaseInstallCjOrWgServiceImpl.java

@@ -790,9 +790,9 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
                 baseService.saveToFile(ossUtil.getUrlWw(file.getFilePath()),oldFile);
                 // 获取文件
                 newFile = oldFile;
-                WebsitFWS websitFWS = publicService.shshwdToptshwd(orderBase.getWebsitId(), orderBase);
-                log.info("图片上传网点编号:{}",websitFWS.getWebsitId());
-                Boolean flag = uploadFileexc(newFile, oldFile,websitFWS.getWebsitId(), file);
+                WebsitSH websitSH = publicService.ptshwdToshshwd(orderBase.getWebsitId(), orderBase.getMainId());
+                log.info("图片上传网点编号:{}",websitSH.getWdId());
+                Boolean flag = uploadFileexc(newFile, oldFile,websitSH.getWdId(), file);
                 new File(newFile).delete();
                 if (!flag) {
                     continue;