xiewj 5 ماه پیش
والد
کامیت
833f668b33
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      720yun_fd_manage/gis_service/src/main/java/com/gis/service/impl/WorkServiceImpl.java

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

@@ -1873,8 +1873,11 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, WorkEntity> impleme
                 content.put(setTypeMapping.get(hotspotType), resJson);
             }
         }
-
-        workHot.setContent(content.toJSONString().replace("\\\"","\""));
+        if (hotspotType.equalsIgnoreCase("textarea")){
+            workHot.setContent(content.toJSONString());
+        }else {
+            workHot.setContent(content.toJSONString().replace("\\\"","\""));
+        }
     }
     public static boolean isJSONValid(String test) {
         try {