Commit 6996a2b5 authored by liudong1993's avatar liudong1993

1

parent ccbb51fd
......@@ -216,6 +216,11 @@ namespace Edu.Model.ViewModel.Sell
/// </summary>
public string StuSourceIdName { get; set; }
/// <summary>
/// 同业企业
/// </summary>
public string EnterpriseName { get; set; }
/// <summary>
/// 学员负责人
/// </summary>
......
......@@ -220,6 +220,11 @@ namespace Edu.Model.ViewModel.User
/// </summary>
public string StuSourceIdName { get; set; }
/// <summary>
/// 同业企业
/// </summary>
public string EnterpriseName { get; set; }
/// <summary>
/// 客户阶段名称
/// </summary>
......
......@@ -513,6 +513,7 @@ namespace Edu.Module.Course
else if (item.CreateType == StuCreateTypeEnum.CustomerInput)
{
item.StuSourceIdName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.CustomerName ?? "";
item.EnterpriseName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.EnterpriseName ?? "";
}
else if (item.CreateType == StuCreateTypeEnum.TransIntroduction)
{
......
......@@ -276,6 +276,7 @@ namespace Edu.Module.User
else if (item.CreateType == StuCreateTypeEnum.CustomerInput)
{
item.StuSourceIdName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.CustomerName ?? "";
item.EnterpriseName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.EnterpriseName ?? "";
}
else if (item.CreateType == StuCreateTypeEnum.TransIntroduction)
{
......
......@@ -183,6 +183,7 @@ namespace Edu.Module.User
else if (item.CreateType == StuCreateTypeEnum.CustomerInput)
{
item.StuSourceIdName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.CustomerName ?? "";
item.EnterpriseName = customerList?.FirstOrDefault(qitem => qitem.CustomerId == item.StuSourceId)?.EnterpriseName ?? "";
}
else if (item.CreateType == StuCreateTypeEnum.TransIntroduction)
{
......@@ -220,7 +221,8 @@ namespace Edu.Module.User
item.CreateType,
CreateTypeName = item.CreateType.ToName(),
item.StuSourceId,
item.StuSourceIdName
item.StuSourceIdName,
item.EnterpriseName
};
RList.Add(StuObj);
}
......
......@@ -405,7 +405,8 @@ namespace Edu.WebApi.Controllers.Course
item.CreateType,
CreateTypeName = item.CreateType.ToName(),
item.StuSourceId,
item.StuSourceIdName
item.StuSourceIdName,
item.EnterpriseName
});
}
pageModel.Count = rowsCount;
......
......@@ -761,6 +761,7 @@ namespace Edu.WebApi.Controllers.User
item.StuRealMobile,
item.OrderCount,
item.RenewOrderCount,
item.EnterpriseName
});
}
pageModel.Count = rowsCount;
......
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