Commit 7c4c80b9 authored by 黄奎's avatar 黄奎

页面修改

parent fdbeb625
...@@ -655,7 +655,7 @@ namespace Edu.Module.Customer ...@@ -655,7 +655,7 @@ namespace Edu.Module.Customer
EndTime = EndTime, EndTime = EndTime,
QCreateByIds = EmpIds QCreateByIds = EmpIds
}); });
var consultantGoal = GetConsultantGoalListModule(new RB_Consultant_Goal_Extend() { Group_Id = 100000, Dept_Id = 13, YearStr = end.Year, MonthStr = end.Month })?.FirstOrDefault();
var yesDataList = lastList?.Where(qitem => Common.ConvertHelper.FormatMonthDay(qitem.Date) == Common.ConvertHelper.FormatMonthDay(end.AddDays(-1)))?.ToList(); var yesDataList = lastList?.Where(qitem => Common.ConvertHelper.FormatMonthDay(qitem.Date) == Common.ConvertHelper.FormatMonthDay(end.AddDays(-1)))?.ToList();
obj = new obj = new
{ {
...@@ -702,7 +702,7 @@ namespace Edu.Module.Customer ...@@ -702,7 +702,7 @@ namespace Edu.Module.Customer
LastWeekOrderSale = yesDataList?.Sum(qitem => qitem.LastWeekOrderSale) ?? 0, LastWeekOrderSale = yesDataList?.Sum(qitem => qitem.LastWeekOrderSale) ?? 0,
CurMonthOrderSale = yesDataList?.Sum(qitem => qitem.CurMonthOrderSale) ?? 0, CurMonthOrderSale = yesDataList?.Sum(qitem => qitem.CurMonthOrderSale) ?? 0,
CurMonthOrderGoal = yesDataList?.FirstOrDefault()?.CurMonthOrderGoal ?? 0, CurMonthOrderGoal = consultantGoal?.GoalMoney??0,
}; };
return obj; return obj;
} }
......
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