Commit fbcbf7f1 authored by 罗超's avatar 罗超

处理教师信息

parent fe834d1c
......@@ -73,10 +73,7 @@ namespace Edu.Module.User
{nameof(RB_Teacher_ViewModel.SortNum),model.SortNum },
{nameof(RB_Teacher_ViewModel.UpdateBy),model.UpdateBy },
{nameof(RB_Teacher_ViewModel.UpdateTime),model.UpdateTime },
{nameof(RB_Teacher_ViewModel.AuditStatus),model.AuditStatus },
{nameof(RB_Teacher_ViewModel.CourseCount),model.CourseCount },
{nameof(RB_Teacher_ViewModel.OnlineClassCount),model.OnlineClassCount },
{nameof(RB_Teacher_ViewModel.OnlineOrderCount),model.OnlineOrderCount },
{nameof(RB_Teacher_ViewModel.AuditStatus),model.AuditStatus }
};
flag = teacherRepository.Update(fileds, new WhereHelper(nameof(RB_Teacher_ViewModel.TId), model.TId));
}
......
......@@ -225,7 +225,7 @@ namespace Edu.WebApi.Controllers.User
var pageModel = Common.Plugin.JsonHelper.DeserializeObject<ResultPageModel>(RequestParm.Msg.ToString());
var query = Common.Plugin.JsonHelper.DeserializeObject<RB_Teacher_ViewModel>(RequestParm.Msg.ToString());
query.Group_Id = base.UserInfo.Group_Id;
query.School_Id = base.UserInfo.School_Id;
//query.School_Id = base.UserInfo.School_Id;
var list = teacherModule.GetTeacherPageListModule(pageModel.PageIndex, pageModel.PageSize, out long rowsCount, query);
foreach (var item in list)
{
......
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