Compare commits

..

2 Commits

Author SHA1 Message Date
yuhan_jiang 0653ec5685 Merge branch 'master' of http://192.168.124.50/wangliwen/monitor-manage
* 'master' of http://192.168.124.50/wangliwen/monitor-manage:
  。。。
2022-11-25 19:33:29 +08:00
yuhan_jiang 657b3ac904 高德返回格式修改 2022-11-25 19:33:12 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -109,11 +109,11 @@ public class GaodeController {
Map data = (Map) forObject.get("data");
if (data != null) {
Map indexData = (Map) data.get("index_data");
List<Integer> query = (List) indexData.get("query");
List<Map> query = (List) indexData.get("query");
if (query != null && query.size() == 1) {
CrowdFlow crowdFlow = new CrowdFlow();
crowdFlow.setCaptureTime(currentDate);
crowdFlow.setCnt(query.get(0));
crowdFlow.setCnt((Integer) query.get(0).get("index"));
crowdFlowMapper.insert(crowdFlow);
}
}