Commit b07ae56a authored by chenzhao's avatar chenzhao

修改bug

parent f5ce30a1
......@@ -308,8 +308,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
if (alertCalled.getAddress() != null) {
JSONObject address = WaterResourceServiceImpl.getLongLatFromAddress(alertCalled.getAddress());
alertCalled.setAddress(address.getString(BizConstant.ADDRESS));
// alertCalled.setCoordinateX(Double.valueOf(address.getString(BizConstant.LONGITUDE)));
// alertCalled.setCoordinateY(Double.valueOf(address.getString(BizConstant.LATITUDE)));
alertCalled.setCoordinateX(Double.valueOf(address.getString(BizConstant.LONGITUDE)));
alertCalled.setCoordinateY(Double.valueOf(address.getString(BizConstant.LATITUDE)));
}
alertCalled.setCallTime(new Date());
if (AlertStageEnums.RG.getValue().equals(alertCalled.getAlertSourceCode())
......@@ -903,7 +903,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
phone = QRCodeUtil.generateQRCode()+"@"+ phone;
i.put("phone", phone);
}
});
});
return list;
}
......@@ -917,7 +917,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
/* 2304 地址 联系人模糊查询缺失 陈召 2021-09-23 结束 */
public Set<Map<String, Object>> getLocationLike(String locationt) {
Set<Map<String, Object>> set= alertCalledMapper.getLocation();
Set<Map<String, Object>> set= alertCalledMapper.getLocation();
set.remove(null);
return set;
}
......
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