This commit is contained in:
Lemon
2025-07-04 14:52:24 +08:00
parent c8187d57e6
commit ea62031179
2 changed files with 3 additions and 0 deletions

View File

@@ -583,6 +583,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
*/
@Override
public String notificationChargeOrderInfo(String orderCode) {
logger.info("青海省平台 推送充电订单信息 start");
// 通过订单号查询订单信息
OrderVO orderVO = orderBasicInfoService.getChargeOrderInfoByOrderCode(orderCode);
BigDecimal startSoc = orderVO.getStartSoc() == null ? BigDecimal.ZERO : new BigDecimal(orderVO.getStartSoc());
@@ -643,6 +644,7 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService {
// 获取令牌
String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret);
if (StringUtils.isBlank(token)) {
logger.info("青海平台获取token为空");
return null;
}
// 封装参数