mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
站点信息表新增对接高德的 运营商品牌 和 站点名称描述 字段
This commit is contained in:
@@ -171,6 +171,18 @@ public class PileStationInfo extends BaseEntity {
|
||||
@Excel(name = "站点引导,用于引导车主找到充电车位")
|
||||
private String siteGuide;
|
||||
|
||||
/**
|
||||
* 充电站运营商品牌名称
|
||||
* (用于推送高德地图拼接POI)
|
||||
*/
|
||||
private String operatorName;
|
||||
|
||||
/**
|
||||
* 充电站名称描述
|
||||
* (用于推送高德地图拼接POI)
|
||||
*/
|
||||
private String aMapStationName;
|
||||
|
||||
/**
|
||||
* 建设场所(1:居民区
|
||||
* 2:公共机构
|
||||
|
||||
@@ -162,6 +162,12 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
|
||||
if (StringUtils.isNotBlank(String.valueOf(pileStationInfo.getCapacity()))) {
|
||||
vo.setCapacity(pileStationInfo.getCapacity());
|
||||
}
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getOperatorName())) {
|
||||
vo.setOperatorName(pileStationInfo.getOperatorName());
|
||||
}
|
||||
if (StringUtils.isNotBlank(pileStationInfo.getAMapStationName())) {
|
||||
vo.setAMapStationName(pileStationInfo.getAMapStationName());
|
||||
}
|
||||
vo.setMerchantAdminName(pileStationInfo.getStationAdminName());
|
||||
vo.setStationStatus(Integer.parseInt(pileStationInfo.getStationStatus()));
|
||||
vo.setStationType(pileStationInfo.getStationType());
|
||||
|
||||
@@ -221,4 +221,16 @@ public class PileStationVO {
|
||||
*/
|
||||
private BigDecimal capacity;
|
||||
|
||||
/**
|
||||
* 充电站运营商品牌名称
|
||||
* (用于推送高德地图拼接POI)
|
||||
*/
|
||||
private String operatorName;
|
||||
|
||||
/**
|
||||
* 充电站名称描述
|
||||
* (用于推送高德地图拼接POI)
|
||||
*/
|
||||
private String aMapStationName;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user