This commit is contained in:
YAS\29473
2025-06-30 14:58:31 +08:00
parent 14bf284e82
commit b235833fc0
2 changed files with 12 additions and 4 deletions

View File

@@ -212,7 +212,15 @@ public class NotificationService {
}catch (Exception e){ }catch (Exception e){
logger.error("推送充电账单信息error", e); logger.error("推送充电账单信息error", e);
} }
//推送充电历史订单信息
try {
// 根据平台类型获取Service
if (platformService != null) {
platformService.notificationChargeOrderInfoHistory(orderCode);
}
} catch (Exception e) {
logger.error("历史充电订单信息推送error", e);
}
} }
} }

View File

@@ -873,13 +873,13 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService {
public Map<String ,String> retryNotificationOrderInfo(String orderCode) { public Map<String ,String> retryNotificationOrderInfo(String orderCode) {
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();
ThirdPartySecretInfoVO thirdPartySecretInfoVO = getChangZhouSecretInfo(); ThirdPartySecretInfoVO thirdPartySecretInfoVO = getChangZhouSecretInfo();
int Success = 0; int SuccStat = 0;
//查询订单信息 //查询订单信息
OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode); OrderBasicInfo orderBasicInfo = orderBasicInfoService.getOrderInfoByOrderCode(orderCode);
if (orderBasicInfo == null) { if (orderBasicInfo == null) {
Success = 1; SuccStat = 1;
} }
map.put("Success", Success); map.put("SuccStat", SuccStat);
return ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO); return ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO);
} }