Commit c1afbbc8 authored by sunyuhua's avatar sunyuhua

Merge remote-tracking branch 'origin/master'

parents 0adffe7b e107f4b7
...@@ -76,7 +76,7 @@ public class RoadsGpsCheckpointController { ...@@ -76,7 +76,7 @@ public class RoadsGpsCheckpointController {
List<RoadsGpsCheckpointMap> roadsGpsCheckpointMapList = new ArrayList<>(); List<RoadsGpsCheckpointMap> roadsGpsCheckpointMapList = new ArrayList<>();
JSONObject object = JSONObject.parseObject(points); JSONObject object = JSONObject.parseObject(points);
JSONArray result = object.getJSONArray("placeMark"); JSONArray result = object.getJSONArray("placeMark");
if (result == null || result.isEmpty()) return null; if (result == null || result.isEmpty()) return Result.fail().setMsg("未设置轨迹");
for (int i = 0; i < result.size(); i++) { for (int i = 0; i < result.size(); i++) {
RoadsGpsCheckpointMap roadsGpsCheckpointMap = new RoadsGpsCheckpointMap(); RoadsGpsCheckpointMap roadsGpsCheckpointMap = new RoadsGpsCheckpointMap();
JSONObject o = (JSONObject) result.get(i); JSONObject o = (JSONObject) result.get(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment