退款
This commit is contained in:
@@ -777,7 +777,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
|||||||
PayType = PayType.None,
|
PayType = PayType.None,
|
||||||
UserId = userId,
|
UserId = userId,
|
||||||
UserName = accountInfo.UserCode,
|
UserName = accountInfo.UserCode,
|
||||||
DayCount = (lastOrder.EndTime - DateTime.Now).Value.Days,
|
DayCount = (accountInfo.EndTime - DateTime.Now).Value.Days,
|
||||||
DayPrice = refundDayPrice,
|
DayPrice = refundDayPrice,
|
||||||
Accounts = account,
|
Accounts = account,
|
||||||
PaymentAmount = lastOrder.PaymentAmount/ lastOrder.AccountCount,
|
PaymentAmount = lastOrder.PaymentAmount/ lastOrder.AccountCount,
|
||||||
@@ -786,7 +786,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
|||||||
Remark = "退款",
|
Remark = "退款",
|
||||||
RefundReason = reason,
|
RefundReason = reason,
|
||||||
};
|
};
|
||||||
var time = (lastOrder.EndTime - DateTime.Now).Value;
|
var time = (accountInfo.EndTime - DateTime.Now).Value;
|
||||||
order.RefundRestTime = time.ToString(@"d\天hh\时mm\分");
|
order.RefundRestTime = time.ToString(@"d\天hh\时mm\分");
|
||||||
|
|
||||||
var againBuy = lastOrder.OrderType == OrderType.AgainBuy || lastOrder.OrderType == OrderType.AgainBuys;
|
var againBuy = lastOrder.OrderType == OrderType.AgainBuy || lastOrder.OrderType == OrderType.AgainBuys;
|
||||||
|
|||||||
Reference in New Issue
Block a user