Commit a9df7eb2 authored by 黄奎's avatar 黄奎

Merge branch 'master' of http://gitlab.oytour.com/Kui2/education

parents 57932e8b 06c148c1
...@@ -597,8 +597,8 @@ namespace Edu.Module.Course ...@@ -597,8 +597,8 @@ namespace Edu.Module.Course
}); });
} }
if (demodel.NormalCommission != NormalCommission || demodel.RenewCommission != RenewCommission) { if (demodel.NormalCommission != NormalCommission || demodel.RenewCommission != RenewCommission) {
message = "返佣金额不正确"; //message = "返佣金额不正确";
return false; //return false;
} }
} }
} }
...@@ -1125,8 +1125,10 @@ namespace Edu.Module.Course ...@@ -1125,8 +1125,10 @@ namespace Edu.Module.Course
} }
#endregion #endregion
} }
}
//返佣幸福存折 //返佣幸福存折
if (demodel.CustomerId > 0 && BalanceList.Any()) { if (flag && demodel.CustomerId > 0 && BalanceList.Any())
{
foreach (var item in BalanceList) foreach (var item in BalanceList)
{ {
item.OrderId = OrderId; item.OrderId = OrderId;
...@@ -1134,7 +1136,6 @@ namespace Edu.Module.Course ...@@ -1134,7 +1136,6 @@ namespace Edu.Module.Course
customer_BalanceDetailRepository.Insert(item); customer_BalanceDetailRepository.Insert(item);
} }
} }
}
#endregion #endregion
#region 更新甲鹤小程序规格对应的库存 #region 更新甲鹤小程序规格对应的库存
......
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