瀏覽代碼

更新1.6.0

xiewj 1 年之前
父節點
當前提交
463320c181
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      720yun_fd_manage/gis_service/src/main/java/com/gis/service/impl/WorkServiceImpl.java

+ 3 - 3
720yun_fd_manage/gis_service/src/main/java/com/gis/service/impl/WorkServiceImpl.java

@@ -1077,7 +1077,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
                             JSONObject earth = customMask.getJSONObject("earth");
                             JSONObject earth = customMask.getJSONObject("earth");
                             JSONObject sky = customMask.getJSONObject("sky");
                             JSONObject sky = customMask.getJSONObject("sky");
                             JSONObject customMaskJson = new JSONObject();
                             JSONObject customMaskJson = new JSONObject();
-                            if (StrUtil.isNotEmpty(earth.getString("icon")) && i == 0) {
+                            if (StrUtil.isNotEmpty(earth.getString("icon"))) {
                                 earth.put("antidistorted", true);
                                 earth.put("antidistorted", true);
                                 earth.put("scale", 1);
                                 earth.put("scale", 1);
                                 customMaskJson.put("earth", earth);
                                 customMaskJson.put("earth", earth);
@@ -1091,7 +1091,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
                                 customMaskJson.put("earth", earth);
                                 customMaskJson.put("earth", earth);
                             }
                             }
 
 
-                            if (StrUtil.isNotEmpty(sky.getString("icon")) && i == 0) {
+                            if (StrUtil.isNotEmpty(sky.getString("icon"))) {
                                 sky.put("antidistorted", true);
                                 sky.put("antidistorted", true);
                                 sky.put("scale", 1);
                                 sky.put("scale", 1);
                                 customMaskJson.put("sky", sky);
                                 customMaskJson.put("sky", sky);
@@ -1107,7 +1107,7 @@ public class WorkServiceImpl extends IBaseStrServiceImpl<WorkEntity, String> imp
                             parse.put("customMask", customMaskJson);
                             parse.put("customMask", customMaskJson);
                         }
                         }
 
 
-                        if (parse.containsKey("initVisual") && i == 0) {
+                        if (parse.containsKey("initVisual")) {
                             JSONObject initVisual = parse.getJSONObject("initVisual");
                             JSONObject initVisual = parse.getJSONObject("initVisual");
                             initVisual.put("vlookatmin", 90);
                             initVisual.put("vlookatmin", 90);
                             initVisual.put("vlookatmax", -90);
                             initVisual.put("vlookatmax", -90);