Commit 5f62a6a8 authored by 罗超's avatar 罗超

新增教师管理字段

parent 175b5d9b
......@@ -42,5 +42,20 @@ namespace Edu.Model.ViewModel.User
/// 审核状态字符串
/// </summary>
public string AuditStatusStr { get { return Common.Plugin.EnumHelper.GetEnumName(this.AuditStatus); } }
/// <summary>
/// 课程数量
/// </summary>
public int CourseCount { get; set; }
/// <summary>
/// 网课产品
/// </summary>
public int OnlineClassCount { get; set; }
/// <summary>
/// 网课订单
/// </summary>
public int OnlineOrderCount { get; set; }
}
}
\ No newline at end of file
......@@ -73,6 +73,10 @@ 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 },
};
flag = teacherRepository.Update(fileds, new WhereHelper(nameof(RB_Teacher_ViewModel.TId), model.TId));
}
......
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