This commit is contained in:
Lemon
2023-09-26 17:13:39 +08:00
parent d97b64dcdc
commit d9e5b2ed36
3 changed files with 7 additions and 3 deletions

View File

@@ -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);

View File

@@ -54,6 +54,11 @@ public class PileStationVO {
*/
private String address;
/**
* 充电站国家代码
*/
private String countryCode;
/**
* 二维码前缀
*/

View File

@@ -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())