This commit is contained in:
YAS\29473
2025-06-30 16:31:31 +08:00
parent b235833fc0
commit 9492f9f7a7

View File

@@ -843,12 +843,12 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService {
PayOrderInfo payOrderInfo = PayOrderInfo.builder() PayOrderInfo payOrderInfo = PayOrderInfo.builder()
.startChargeSeq(orderCode) .startChargeSeq(orderCode)
.elecTotal(electricityAmount) .elecTotal(electricityAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.serviceTotal(serviceAmount) .serviceTotal(serviceAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.total(orderAmount) .total(orderAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.elecPaid(afterDiscountElectricityAmount) .elecPaid(afterDiscountElectricityAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.servicePaid(afterDiscountServiceAmount) .servicePaid(afterDiscountServiceAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.paid(afterDiscountOrderAmount) .paid(afterDiscountOrderAmount.setScale(2, BigDecimal.ROUND_HALF_UP))
.build(); .build();
String url = urlAddress + "notification_pay_order_info"; String url = urlAddress + "notification_pay_order_info";
@@ -880,6 +880,9 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService {
SuccStat = 1; SuccStat = 1;
} }
map.put("SuccStat", SuccStat); map.put("SuccStat", SuccStat);
//调用推送订单信息
notificationChargeOrderInfo(orderCode, thirdPartySecretInfoVO);
return ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO); return ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO);
} }