This commit is contained in:
wanyongkang
2020-11-26 18:47:05 +08:00
parent 0f1dcf1ce3
commit e5cf1b1b23

View File

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