Commit 8f0b9f31 authored by 黄奎's avatar 黄奎

页面修改

parent 5c838864
......@@ -1207,8 +1207,12 @@ namespace Edu.Module.Course
}
#endregion
if (flag && demodel.GuestNum == 1 && (orderModel.PreferPrice != demodel.PreferPrice || orderModel.DiscountMoney != demodel.DiscountMoney)) {
if (demodel.PreferPrice - demodel.DiscountMoney == orderModel.Income + orderModel.PlatformTax - orderModel.Refund && orderModel.Income >0) {
if (flag && demodel.GuestNum == 1 && (orderModel.PreferPrice != demodel.PreferPrice || orderModel.DiscountMoney != demodel.DiscountMoney))
{
if (demodel.PreferPrice - demodel.DiscountMoney == orderModel.Income + orderModel.PlatformTax - orderModel.Refund && orderModel.Income > 0)
{
if (glist != null && glist.Count > 0)
{
//帐平
int guestId = glist.FirstOrDefault().Id;
var studentMapping = student_OrderGuestRepository.GetList(new RB_Student_OrderGuest_ViewModel()
......@@ -1222,6 +1226,7 @@ namespace Edu.Module.Course
}
}
}
}
else
{
if (demodel.JoinType == OrderJoinTypeEnum.InsertClass)
......
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