Commit 9a4d4e09 authored by liudong1993's avatar liudong1993

1

parent 384731f1
......@@ -678,9 +678,11 @@ GROUP BY ClassId;";
if (orderModel.CreateTime >= Convert.ToDateTime("2024-09-01"))
{
//违约金
decimal breakContractPrice = (orderModel.TotalClassHours - FinishHours) * classHourPrice * Convert.ToDecimal(0.1);
//可退总金额
decimal OrderMoney = orderModel.Income + orderModel.PlatformTax - orderModel.Refund - orderModel.CoursewareFee - orderModel.TextbookFee;
backMoney = OrderMoney / orderModel.GuestNum - FinishHours * classHourPrice;// - breakContractPrice; 违约金 先排除
backMoney = OrderMoney / orderModel.GuestNum - FinishHours * classHourPrice - breakContractPrice;
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment