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,14 +1125,15 @@ namespace Edu.Module.Course ...@@ -1125,14 +1125,15 @@ namespace Edu.Module.Course
} }
#endregion #endregion
} }
//返佣幸福存折 }
if (demodel.CustomerId > 0 && BalanceList.Any()) { //返佣幸福存折
foreach (var item in BalanceList) if (flag && demodel.CustomerId > 0 && BalanceList.Any())
{ {
item.OrderId = OrderId; foreach (var item in BalanceList)
item.OrderSource = (int)demodel.OrderSource; {
customer_BalanceDetailRepository.Insert(item); item.OrderId = OrderId;
} item.OrderSource = (int)demodel.OrderSource;
customer_BalanceDetailRepository.Insert(item);
} }
} }
#endregion #endregion
......
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