|
@@ -1,6 +1,5 @@
|
|
|
package com.sooka.sponest.event.centereventteventcatalogue.controller;
|
|
|
|
|
|
-import com.dahuatech.hutool.core.map.MapUtil;
|
|
|
import com.ruoyi.common.core.domain.R;
|
|
|
import com.ruoyi.common.core.web.controller.BaseController;
|
|
|
import com.sooka.sponest.event.centereventteventcatalogue.domain.bo.VisuForestCloudCalendarBO;
|
|
@@ -67,7 +66,7 @@ public class CenterEventReportController extends BaseController {
|
|
|
List<Map<String, Object>> result = centerEventReportService.getEventTypeRadar(visuForestCloudMapVO);
|
|
|
List<Long> numList = new ArrayList<>();
|
|
|
for (Map<String, Object> map : result) {
|
|
|
- numList.add(MapUtil.getLong(map, "value"));
|
|
|
+ numList.add(MapUtils.getLong(map, "value"));
|
|
|
}
|
|
|
Map<String, List> resultMap = new HashMap<>();
|
|
|
resultMap.put("eventtype", result);
|
|
@@ -81,7 +80,7 @@ public class CenterEventReportController extends BaseController {
|
|
|
List<Map<String, Object>> result = centerEventReportService.getEventCountGroupByFireSource(visuForestCloudMapVO);
|
|
|
List<Long> numList = new ArrayList<>();
|
|
|
for (Map<String, Object> map : result) {
|
|
|
- numList.add(MapUtil.getLong(map, "value"));
|
|
|
+ numList.add(MapUtils.getLong(map, "value"));
|
|
|
}
|
|
|
Map<String, List> resultMap = new HashMap<>();
|
|
|
resultMap.put("firesource", result);
|
|
@@ -205,8 +204,8 @@ public class CenterEventReportController extends BaseController {
|
|
|
List<String> latLng = null;
|
|
|
for (Map<String, Object> map : latLngs) {
|
|
|
latLng = new ArrayList<>();
|
|
|
- latLng.add(MapUtil.getStr(map, "latitude"));
|
|
|
- latLng.add(MapUtil.getStr(map, "longitude"));
|
|
|
+ latLng.add(MapUtils.getString(map, "latitude"));
|
|
|
+ latLng.add(MapUtils.getString(map, "longitude"));
|
|
|
latLng.add("1");
|
|
|
result.add(latLng);
|
|
|
}
|