mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 江苏省平台接口
This commit is contained in:
@@ -162,7 +162,7 @@ public class NRServiceImpl implements NRService {
|
||||
.parkNums(0)
|
||||
.stationLng(new BigDecimal(stationInfoVO.getStationLng()).setScale(6, BigDecimal.ROUND_HALF_UP))
|
||||
.stationLat(new BigDecimal(stationInfoVO.getStationLat()).setScale(6, BigDecimal.ROUND_HALF_UP))
|
||||
.openForBusinessDate(stationInfoVO.getCreateTime())
|
||||
.openForBusinessDate(DateUtils.convertDateTimeToDate(stationInfoVO.getCreateTime()))
|
||||
.openAllDay(Integer.parseInt(stationInfoVO.getOpenAllDay()))
|
||||
.busineHours(stationInfoVO.getBusinessHours())
|
||||
.minElectricityPrice(stationInfoVO.getElectricityPrice().add(stationInfoVO.getServicePrice()))
|
||||
@@ -618,14 +618,14 @@ public class NRServiceImpl implements NRService {
|
||||
*/
|
||||
private NROrderInfo formatNROrderInfo(NROrderInfoVO nrOrderInfoVO) {
|
||||
// 将组织机构代码截取后九位
|
||||
String organizationCode = nrOrderInfoVO.getOperatorId();
|
||||
if (StringUtils.isBlank(organizationCode)) {
|
||||
return null;
|
||||
}
|
||||
String operatorId = StringUtils.substring(organizationCode, organizationCode.length() - 9);
|
||||
// String organizationCode = nrOrderInfoVO.getOperatorId();
|
||||
// if (StringUtils.isBlank(organizationCode)) {
|
||||
// return null;
|
||||
// }
|
||||
// String operatorId = StringUtils.substring(organizationCode, organizationCode.length() - 9);
|
||||
|
||||
NROrderInfo nrOrderInfo = NROrderInfo.builder()
|
||||
.operatorId(operatorId)
|
||||
.operatorId(Constants.OPERATORID_JIANG_SU)
|
||||
.connectorId(nrOrderInfoVO.getConnectorId())
|
||||
.startChargeSeq(nrOrderInfoVO.getStartChargeSeq())
|
||||
.userChargeType(1)
|
||||
|
||||
Reference in New Issue
Block a user