mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -156,6 +156,7 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
}
|
||||
vo.setStationLat(pileStationInfo.getStationLat());
|
||||
vo.setStationLng(pileStationInfo.getStationLng());
|
||||
vo.setCountryCode(pileStationInfo.getCountryCode());
|
||||
vo.setConstruction(pileStationInfo.getConstruction());
|
||||
vo.setBusinessHours(pileStationInfo.getBusinessHours());
|
||||
// vo.setOrganizationCode(pileStationInfo.getor);
|
||||
|
||||
@@ -54,6 +54,11 @@ public class PileStationVO {
|
||||
*/
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 充电站国家代码
|
||||
*/
|
||||
private String countryCode;
|
||||
|
||||
/**
|
||||
* 二维码前缀
|
||||
*/
|
||||
|
||||
@@ -65,16 +65,14 @@ public class NRServiceImpl implements NRService {
|
||||
.operatorID(Constants.OPERATORID_LIANLIAN)
|
||||
.equipmentOwnerID(Constants.OPERATORID_LIANLIAN)
|
||||
.stationName(stationInfoVO.getStationName())
|
||||
.countryCode("CN")
|
||||
.countryCode(stationInfoVO.getCountryCode())
|
||||
.areaCode(stationInfoVO.getAreaCode())
|
||||
.address(stationInfoVO.getAddress())
|
||||
.serviceTel(stationInfoVO.getStationTel())
|
||||
// .stationType()
|
||||
.stationStatus(stationInfoVO.getStationStatus())
|
||||
.parkNums(0)
|
||||
.stationLng(new BigDecimal(stationInfoVO.getStationLng()).setScale(6, BigDecimal.ROUND_HALF_UP))
|
||||
.stationLat(new BigDecimal(stationInfoVO.getStationLat()).setScale(6, BigDecimal.ROUND_HALF_UP))
|
||||
// .construction()
|
||||
.openForBusinessDate(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.parseDate(stationInfoVO.getCreateTime())))
|
||||
.openAllDay(Integer.parseInt(stationInfoVO.getOpenAllDay()))
|
||||
.busineHours(stationInfoVO.getBusinessHours())
|
||||
|
||||
Reference in New Issue
Block a user