站点信息表新增对接高德的 运营商品牌 和 站点名称描述 字段

This commit is contained in:
Lemon
2024-01-26 09:01:52 +08:00
parent ab84099e15
commit f18bf4c072
6 changed files with 67 additions and 1 deletions

View File

@@ -161,7 +161,15 @@ public class AMapServiceImpl implements AMapService {
aMapInfo.setOperatorID(Constants.OPERATORID_LIANLIAN);
aMapInfo.setEquipmentOwnerID(Constants.OPERATORID_LIANLIAN);
aMapInfo.setOperatorName(Constants.JSOWELL);
if (StringUtils.isNotBlank(stationInfo.getOperatorName())) {
// 如果设置的运营商品牌不为空,就用所设置的运营商品牌
aMapInfo.setOperatorName(stationInfo.getOperatorName());
}
aMapInfo.setStationName(stationInfo.getStationName());
if (StringUtils.isNotBlank(stationInfo.getAMapStationName())) {
// 如果设置的推送高德的站点名称描述不为空,就用站点名称描述
aMapInfo.setStationName(stationInfo.getAMapStationName());
}
aMapInfo.setCountryCode(stationInfo.getCountryCode());
if (StringUtils.isNotBlank(stationInfo.getParkFeeDescribe())) {
// 停车费率描述