update 苏州市平台

This commit is contained in:
Lemon
2024-09-25 15:56:55 +08:00
parent 713c9fc84c
commit 386e8bd28c
2 changed files with 7 additions and 1 deletions

View File

@@ -1,12 +1,14 @@
package com.jsowell.thirdparty.platform.domain;
import com.alibaba.fastjson2.annotation.JSONField;
import com.jsowell.thirdparty.platform.common.ChargeDetail;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.List;
/**
* 充电状态信息
@@ -159,4 +161,7 @@ public class SupEquipChargeStatusInfo {
@JSONField(name = "StartChargeSeqStat")
private Integer startChargeSeqStat;
@JSONField(name = "ChargeDetails")
private List<ChargeDetail> chargeDetails;
}

View File

@@ -226,7 +226,7 @@ public class SuZhouPlatformServiceImpl implements ThirdPartyPlatformService {
// 查询相关配置信息
ThirdPartySecretInfoVO suZhouSecretInfo = getSuZhouSecretInfo();
String operatorId = suZhouSecretInfo.getTheirOperatorId();
String operatorId = suZhouSecretInfo.getOurOperatorId();
String operatorSecret = suZhouSecretInfo.getTheirOperatorSecret();
String signSecret = suZhouSecretInfo.getTheirSigSecret();
String dataSecret = suZhouSecretInfo.getTheirDataSecret();
@@ -377,6 +377,7 @@ public class SuZhouPlatformServiceImpl implements ThirdPartyPlatformService {
.startTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, orderInfo.getChargeStartTime()))
.endTime(dateTimeNow)
.totalPower(connectorInfo.getInstantPower())
.chargeDetails(new ArrayList<>())
.build();
if (StringUtils.isNotBlank(connectorInfo.getSOC())) {