Browse Source

计算结果上传bug

dsx 2 years ago
parent
commit
a53def2dcb

+ 2 - 2
src/main/java/com/fdkankan/contro/mq/service/impl/CommonServiceImpl.java

@@ -91,7 +91,7 @@ public class CommonServiceImpl implements ICommonService {
         }
         String localDepthmapAsc = dataSource + "/caches/depthmap_csc/";
         String ossDepthmapAsc = ossResultPath + "caches/depthmap_csc/";
-        if(FileUtil.exist(localDepthmap)){
+        if(FileUtil.exist(localDepthmapAsc)){
             fYunFileServiceInterface.uploadFileByCommand(localDepthmapAsc, ossDepthmapAsc);
         }
         String localPanoramaJson =  dataSource + "/caches/panorama.json";
@@ -112,7 +112,7 @@ public class CommonServiceImpl implements ICommonService {
         String localDepthmapVis = dataSource + "/caches/depthmap_vis";
         String ossDepthmapVis = ossResultPath + "caches/depthmap_vis";
         if(FileUtil.exist(localDepthmapVis)){
-            fYunFileServiceInterface.uploadFile(localDepthmapVis, ossDepthmapVis);
+            fYunFileServiceInterface.uploadFileByCommand(localDepthmapVis, ossDepthmapVis);
         }