Commit f5ce30a1 authored by chenzhao's avatar chenzhao

修改bug

parent 011e752d
...@@ -308,8 +308,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal ...@@ -308,8 +308,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
if (alertCalled.getAddress() != null) { if (alertCalled.getAddress() != null) {
JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(alertCalled.getAddress()); JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(alertCalled.getAddress());
alertCalled.setAddress(address.getString(BizConstant.ADDRESS)); alertCalled.setAddress(address.getString(BizConstant.ADDRESS));
alertCalled.setCoordinateX(Double.valueOf(address.getString(BizConstant.LONGITUDE))); // alertCalled.setCoordinateX(Double.valueOf(address.getString(BizConstant.LONGITUDE)));
alertCalled.setCoordinateY(Double.valueOf(address.getString(BizConstant.LATITUDE))); // alertCalled.setCoordinateY(Double.valueOf(address.getString(BizConstant.LATITUDE)));
} }
alertCalled.setCallTime(new Date()); alertCalled.setCallTime(new Date());
if (AlertStageEnums.RG.getValue().equals(alertCalled.getAlertSourceCode()) if (AlertStageEnums.RG.getValue().equals(alertCalled.getAlertSourceCode())
......
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