Browse Source

计算结果处理

dengsixing 3 years ago
parent
commit
ce94bac819

+ 2 - 2
4dkankan-center-scene/src/main/java/com/fdkankan/scene/service/impl/BuildScenePreServiceImpl.java

@@ -179,8 +179,8 @@ public class BuildScenePreServiceImpl implements IBuildScenePreService {
         String videosViewPath = String.format(UploadFilePath.VIDEOS_VIEW_PATH, num);
         String videosViewPath = String.format(UploadFilePath.VIDEOS_VIEW_PATH, num);
 
 
         Map<String, String> newMap = new HashMap<>();
         Map<String, String> newMap = new HashMap<>();
-        for (String key : newMap.keySet()) {
-            String value = newMap.get(key);
+        for (String key : map.keySet()) {
+            String value = map.get(key);
             if(value.contains(dataPath)){
             if(value.contains(dataPath)){
                 newMap.put(key, value.replace(dataPath, dataViewPath));
                 newMap.put(key, value.replace(dataPath, dataViewPath));
             }
             }