Commit 41ed6b81 authored by liudong1993's avatar liudong1993

1

parent 7da18522
...@@ -52,6 +52,10 @@ namespace Edu.Module.User ...@@ -52,6 +52,10 @@ namespace Edu.Module.User
/// 同业 /// 同业
/// </summary> /// </summary>
private readonly RB_CustomerRepository customerRepository = new RB_CustomerRepository(); private readonly RB_CustomerRepository customerRepository = new RB_CustomerRepository();
/// <summary>
/// 渠道仓储层对象
/// </summary>
private readonly RB_ChannelRepository channelRepository = new RB_ChannelRepository();
#region 学员跟进 #region 学员跟进
...@@ -124,6 +128,12 @@ namespace Edu.Module.User ...@@ -124,6 +128,12 @@ namespace Edu.Module.User
}); });
} }
string channelIds = string.Join(",", slist.Select(qitem => qitem.StuChannel));
var channelList = channelRepository.GetChannelListRepository(new Model.ViewModel.System.RB_Channel_Extend()
{
QChannelIds = channelIds
});
#region 组装数据 #region 组装数据
int MaxMonth = 2;//最大月份 int MaxMonth = 2;//最大月份
//数据 //数据
...@@ -180,7 +190,7 @@ namespace Edu.Module.User ...@@ -180,7 +190,7 @@ namespace Edu.Module.User
} }
item.CreateByName = accountList?.FirstOrDefault(qitem => qitem.Id == item.CreateBy)?.AccountName ?? ""; item.CreateByName = accountList?.FirstOrDefault(qitem => qitem.Id == item.CreateBy)?.AccountName ?? "";
item.StuChannelName = channelList?.FirstOrDefault(qitem => qitem.Id == item.StuChannel)?.Name ?? "";
var StuObj = new var StuObj = new
{ {
item.StuId, item.StuId,
......
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