Commit 351dfa3e authored by liudong1993's avatar liudong1993

1

parent 68a2855f
...@@ -1046,7 +1046,7 @@ namespace Edu.Module.Course ...@@ -1046,7 +1046,7 @@ namespace Edu.Module.Course
foreach (var AchModel in AchEmpList.Where(x => x.OrderId == item.OrderId)) foreach (var AchModel in AchEmpList.Where(x => x.OrderId == item.OrderId))
{ {
var classModel = clist.Where(x => x.ClassId == item.ClassId).FirstOrDefault(); var classModel = clist.Where(x => x.ClassId == item.ClassId).FirstOrDefault();
if (classModel == null) { break; } if (classModel == null) { continue; }
//当前已发提成 //当前已发提成
decimal SaleCommissioned = dlist.Where(x => x.OrderId == item.OrderId && x.UserId == AchModel.EmpId && x.UserType == AchModel.Type && x.IsDept == AchModel.IsDept).Sum(x => x.CurrentPeriodMoney); decimal SaleCommissioned = dlist.Where(x => x.OrderId == item.OrderId && x.UserId == AchModel.EmpId && x.UserType == AchModel.Type && x.IsDept == AchModel.IsDept).Sum(x => x.CurrentPeriodMoney);
...@@ -1054,7 +1054,7 @@ namespace Edu.Module.Course ...@@ -1054,7 +1054,7 @@ namespace Edu.Module.Course
decimal YFCommission = AchModel.PushMoney; decimal YFCommission = AchModel.PushMoney;
if (YFCommission == 0 && SaleCommissioned == 0) if (YFCommission == 0 && SaleCommissioned == 0)
{ {
break; continue;
} }
#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