Compare commits

..

No commits in common. "0653ec5685da64e20db9aa6a93531d76a1b90545" and "26d295e9cb71d6059b4f54c1ef68febf794a2fe1" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

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