From 332dfa9e75dfc0896fd8b73caaab768156cba7cc Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Mon, 15 Aug 2022 18:13:17 +0800 Subject: [PATCH] 修改尘负荷单位为微克 --- screen-api/src/main/java/com/moral/api/service/impl/HistoryMonthlyServiceImpl.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/service/impl/HistoryMonthlyServiceImpl.java b/screen-api/src/main/java/com/moral/api/service/impl/HistoryMonthlyServiceImpl.java index 76ed6f6..c2d9206 100644 --- a/screen-api/src/main/java/com/moral/api/service/impl/HistoryMonthlyServiceImpl.java +++ b/screen-api/src/main/java/com/moral/api/service/impl/HistoryMonthlyServiceImpl.java @@ -245,6 +245,9 @@ boundary_point_one.add(Double.parseDouble(boundary_point_one_array[1])); boundary_pointList.add(boundary_point_one); } + if (boundary_pointList.size()>0){ + boundary_pointList.add(boundary_pointList.get(0)); + } bound.add(boundary_pointList); resultMap.put("bound", bound); List centerPoint = new ArrayList(); @@ -418,6 +421,9 @@ boundary_point_one.add(Double.parseDouble(boundary_point_one_array[1])); boundary_pointList.add(boundary_point_one); } + if (boundary_pointList.size()>0){ + boundary_pointList.add(boundary_pointList.get(0)); + } bound.add(boundary_pointList); List centerPoint = new ArrayList(); centerPoint.add(servicesScope.getCenterLongitude()); -- Gitblit v1.8.0