This commit is contained in:
2024-05-04 10:07:40 +08:00
2 changed files with 3 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ public class ChargeOrderInfo {
* 2换电站内的电池箱充电设备
*/
@JSONField(name = "EquipmentClassification")
private String equipmentClassification;
private Integer equipmentClassification;
/**
* 充电开始SOC

View File

@@ -391,9 +391,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
if (StringUtils.isBlank(token)) {
return null;
}
JSONObject json = new JSONObject();
json.put("ConnectorChargeStatusInfo", info);
String jsonString = JSON.toJSONString(json);
String jsonString = JSON.toJSONString(info);
// 发送请求
String result = HttpRequestUtil.sendPost(token, jsonString, url, dataSecret, dataSecretIv, operatorId, signSecret);
return result;
@@ -596,6 +594,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
// .equipmentId()
.stationId(orderVO.getStationId())
.equipmentId(orderVO.getPileSn())
.equipmentClassification(Constants.one)
.connectorId(orderVO.getPileConnectorCode())
.startChargeSeq(orderVO.getOrderCode())
.startSoc(startSoc)