mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
update
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user