Commit 1d1fb8ce authored by liudong1993's avatar liudong1993

1

parent ef477746
......@@ -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