From c5b4edd0d62102bee0e203169f99976a6bab4ad0 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Thu, 27 Jul 2023 15:34:37 +0800 Subject: [PATCH] fix: 位置信息提交 --- screen-api/src/main/java/com/moral/api/service/impl/SpecialDeviceServiceImpl.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/service/impl/SpecialDeviceServiceImpl.java b/screen-api/src/main/java/com/moral/api/service/impl/SpecialDeviceServiceImpl.java index 0562f3a..65d397d 100644 --- a/screen-api/src/main/java/com/moral/api/service/impl/SpecialDeviceServiceImpl.java +++ b/screen-api/src/main/java/com/moral/api/service/impl/SpecialDeviceServiceImpl.java @@ -128,12 +128,7 @@ if (lon < 70 || lon > 150 || lat < 20 || lat > 60) { return true; } - if(type){ - o.putAll(value); - }else { - - } - + o.putAll(value); return false; }); /*for (Map<String, Object> map:data) { @@ -590,6 +585,11 @@ if(!list.contains(d)){ list.add(d); integer++; + HistorySecondCruiserResultCountDTO countResultDTO = Objects.isNull(map.get(integer))?new HistorySecondCruiserResultCountDTO():map.get(integer); + countResultDTO.setSumNum(d.getNum()); + countResultDTO.setContNum(1); + map.put(integer,countResultDTO); + mapTest.put(d.getFlyLon()+"_"+d.getFlyLat(),d.getNum()); } } } -- Gitblit v1.8.0