退款方式
This commit is contained in:
@@ -644,6 +644,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
//总退款金额
|
//总退款金额
|
||||||
//TODO 退款 券 未处理
|
//TODO 退款 券 未处理
|
||||||
if (isPay) {
|
if (isPay) {
|
||||||
|
orderInfo.setRefundType("cash");
|
||||||
//非现金退款
|
//非现金退款
|
||||||
if (!param.isCash()) {
|
if (!param.isCash()) {
|
||||||
if (orderInfo.getPayType().equals(PayEnums.VIP_PAY.getValue())) {
|
if (orderInfo.getPayType().equals(PayEnums.VIP_PAY.getValue())) {
|
||||||
@@ -669,7 +670,6 @@ public class PayServiceImpl implements PayService {
|
|||||||
}
|
}
|
||||||
orderInfo.setRefundType("payBack");
|
orderInfo.setRefundType("payBack");
|
||||||
}
|
}
|
||||||
orderInfo.setRefundType("cash");
|
|
||||||
} else {
|
} else {
|
||||||
orderInfo.setOrderAmount(orderInfo.getOrderAmount().subtract(param.getRefundAmount()));
|
orderInfo.setOrderAmount(orderInfo.getOrderAmount().subtract(param.getRefundAmount()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user