From 4614fa49ab34b144c7cef0a256a77945424111a9 Mon Sep 17 00:00:00 2001 From: HAHA Date: Fri, 20 May 2022 10:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E5=BB=BA=E5=8D=95=E4=BD=8D-=E7=AE=80?= =?UTF-8?q?=E8=A6=81=E4=BF=A1=E6=81=AF=E5=88=97=E8=A1=A8=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=BB=8F=E7=BA=AC=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/dto/result/PartyUnitListbrieResultDTO.java | 10 ++++++++++ .../src/main/resources/mapper/IcPartyUnitDao.xml | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/PartyUnitListbrieResultDTO.java b/epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/PartyUnitListbrieResultDTO.java index eadc99ca2a..87ecc54bcb 100644 --- a/epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/PartyUnitListbrieResultDTO.java +++ b/epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/PartyUnitListbrieResultDTO.java @@ -43,4 +43,14 @@ public class PartyUnitListbrieResultDTO implements Serializable { */ private String unitName; + /** + * 经度 + */ + private String longitude; + + /** + * 纬度 + */ + private String latitude; + } diff --git a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml index 3067a3f65d..7c4d734729 100644 --- a/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml +++ b/epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcPartyUnitDao.xml @@ -79,7 +79,9 @@ -- b.GRID_ID, a.UNIT_NAME, a.type, - a.SERVICE_MATTER + a.SERVICE_MATTER, + a.LONGITUDE, + a.LATITUDE FROM ic_party_unit a -- LEFT JOIN ic_party_activity b ON a.id = b.UNIT_ID