Commit 675988bd authored by 黄奎's avatar 黄奎

修改

parent 4d2b0f78
...@@ -79,6 +79,7 @@ namespace Edu.WebApi.Controllers.User ...@@ -79,6 +79,7 @@ namespace Edu.WebApi.Controllers.User
demodel.CreateIds = Common.Plugin.JsonHelper.DeserializeObject<List<int>>(CreateIds); demodel.CreateIds = Common.Plugin.JsonHelper.DeserializeObject<List<int>>(CreateIds);
} }
demodel.Group_Id = userInfo.Group_Id; demodel.Group_Id = userInfo.Group_Id;
if (demodel.IsQueryMyStu == 1) if (demodel.IsQueryMyStu == 1)
{ {
demodel.CreateBy = userInfo.Id; demodel.CreateBy = userInfo.Id;
...@@ -95,6 +96,13 @@ namespace Edu.WebApi.Controllers.User ...@@ -95,6 +96,13 @@ namespace Edu.WebApi.Controllers.User
} }
} }
if (base.UserInfo.IsMarket == 1)
{
if (base.UserInfo.IsManager == 0)
{
demodel.CreateBy = userInfo.Id;
}
}
var list = studentStatModule.GetStudentFollowUpPageModule(pmodel.PageIndex, pmodel.PageSize, out long count, demodel); var list = studentStatModule.GetStudentFollowUpPageModule(pmodel.PageIndex, pmodel.PageSize, out long count, demodel);
pmodel.Count = count; pmodel.Count = count;
pmodel.PageData = list; pmodel.PageData = list;
...@@ -158,6 +166,13 @@ namespace Edu.WebApi.Controllers.User ...@@ -158,6 +166,13 @@ namespace Edu.WebApi.Controllers.User
demodel.CreateBy = base.UserInfo.Id; demodel.CreateBy = base.UserInfo.Id;
} }
} }
if (base.UserInfo.IsMarket == 1)
{
if (base.UserInfo.IsManager == 0)
{
demodel.CreateBy = base.UserInfo.Id;
}
}
var list = studentStatModule.GetStudentFollowUpPageModule(1, 1000000, out long count, demodel); var list = studentStatModule.GetStudentFollowUpPageModule(1, 1000000, out long count, demodel);
string excelName = "学员跟踪.xls"; string excelName = "学员跟踪.xls";
try try
......
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