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