xiewj 1 年之前
父节点
当前提交
98f5140fc0

+ 4 - 1
720yun_fd_consumer/gis_consumer/src/main/java/com/gis/service/impl/FodderServiceImpl.java

@@ -108,7 +108,10 @@ public class FodderServiceImpl implements FodderService {
         String panoPath = entity.getFilePath();
         String sceneCode = entity.getSceneCode();
         String cmd = CmdConstant.PANO_KRPANO + panoPath;
-
+        if (panoPath.endsWith(".jpg")){
+            String parent = FileUtil.getParent(panoPath, 1);
+            FileUtil.del(parent);
+        }
 
         // 超时处理机制
         final ExecutorService exec = Executors.newFixedThreadPool(1);