mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
结算订单逻辑优化
This commit is contained in:
@@ -815,12 +815,12 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
|||||||
BigDecimal principalPay = null;
|
BigDecimal principalPay = null;
|
||||||
BigDecimal giftPay = null;
|
BigDecimal giftPay = null;
|
||||||
|
|
||||||
OrderPayRecord principalPayRecord = payRecordMap.get("1");
|
OrderPayRecord principalPayRecord = payRecordMap.get(Constants.ONE);
|
||||||
if (principalPayRecord != null) {
|
if (principalPayRecord != null) {
|
||||||
principalPay = principalPayRecord.getPayAmount();
|
principalPay = principalPayRecord.getPayAmount();
|
||||||
}
|
}
|
||||||
|
|
||||||
OrderPayRecord giftPayRecord = payRecordMap.get("2");
|
OrderPayRecord giftPayRecord = payRecordMap.get(Constants.TWO);
|
||||||
if (giftPayRecord != null) {
|
if (giftPayRecord != null) {
|
||||||
giftPay = giftPayRecord.getPayAmount();
|
giftPay = giftPayRecord.getPayAmount();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user