From da0b0fd745fca4c57104438dc5c7b40c4b768d1b Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Thu, 23 Mar 2023 11:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=A1=97=E9=81=93=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E5=92=8C=E8=A1=97=E9=81=93=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xkrs/service/impl/DispatchFirePointServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/xkrs/service/impl/DispatchFirePointServiceImpl.java b/src/main/java/com/xkrs/service/impl/DispatchFirePointServiceImpl.java index 8592f4d..46d8de0 100644 --- a/src/main/java/com/xkrs/service/impl/DispatchFirePointServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/DispatchFirePointServiceImpl.java @@ -264,6 +264,8 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService { firePointPreciseEntity.setFirePointAddress(geoCodeHelper.getCalFirePointAddress()); firePointPreciseEntity.setRemark(""); } else { + firePointPreciseEntity.setTownCode(geoCodeHelper.getCalTownCode()); + firePointPreciseEntity.setTownName(geoCodeHelper.getCalTownName()); firePointPreciseEntity.setFirePointAddress(geoCodeHelper.getCalFirePointAddress()); String remark = "接收到的countyCode=" + countyCode + ",计算得到的countyCode=" + geoCodeHelper.getCalCountyCode() + "。接收到的countyName=" + countyName + ",计算得到的countyName=" + geoCodeHelper.getCalCountyName() + "。接收到的townCode=" + townCode + ",计算得到的townCode=" + geoCodeHelper.getCalTownCode() + "。"; firePointPreciseEntity.setRemark(remark); @@ -291,6 +293,8 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService { firePointOrdinaryEntity.setFirePointAddress(geoCodeHelper.getCalFirePointAddress()); firePointOrdinaryEntity.setRemark(""); } else { + firePointOrdinaryEntity.setTownCode(geoCodeHelper.getCalTownCode()); + firePointOrdinaryEntity.setTownName(geoCodeHelper.getCalTownName()); firePointOrdinaryEntity.setFirePointAddress(geoCodeHelper.getCalFirePointAddress()); String remark = "接收到的countyCode=" + countyCode + ",计算得到的countyCode=" + geoCodeHelper.getCalCountyCode() + "。接收到的countyName=" + countyName + ",计算得到的countyName=" + geoCodeHelper.getCalCountyName() + "。接收到的townCode=" + townCode + ",计算得到的townCode=" + geoCodeHelper.getCalTownCode() + "。"; firePointOrdinaryEntity.setRemark(remark);