Commit 6996a2b5 authored by liudong1993's avatar liudong1993

1

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