diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/ChangZhouPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/ChangZhouPlatformServiceImpl.java index 311e88d3d..04bf08ac4 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/ChangZhouPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/ChangZhouPlatformServiceImpl.java @@ -843,12 +843,12 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService { PayOrderInfo payOrderInfo = PayOrderInfo.builder() .startChargeSeq(orderCode) - .elecTotal(electricityAmount) - .serviceTotal(serviceAmount) - .total(orderAmount) - .elecPaid(afterDiscountElectricityAmount) - .servicePaid(afterDiscountServiceAmount) - .paid(afterDiscountOrderAmount) + .elecTotal(electricityAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) + .serviceTotal(serviceAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) + .total(orderAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) + .elecPaid(afterDiscountElectricityAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) + .servicePaid(afterDiscountServiceAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) + .paid(afterDiscountOrderAmount.setScale(2, BigDecimal.ROUND_HALF_UP)) .build(); String url = urlAddress + "notification_pay_order_info"; @@ -880,6 +880,9 @@ public class ChangZhouPlatformServiceImpl implements ThirdPartyPlatformService { SuccStat = 1; } map.put("SuccStat", SuccStat); + //调用推送订单信息 + notificationChargeOrderInfo(orderCode, thirdPartySecretInfoVO); + return ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO); }