Commit 22dc29e9 authored by 黄奎's avatar 黄奎

新增老师排序

parent 76dc48e3
......@@ -4125,7 +4125,7 @@ namespace Edu.Module.Course
}
//获取所有老师的列表
var TeacherList = teacherRepository.GetTeacherListRepository(new RB_Teacher_ViewModel() { Group_Id = group_Id, TId = teacherId });
var TeacherList = teacherRepository.GetTeacherListRepository(new RB_Teacher_ViewModel() { Group_Id = group_Id, TId = teacherId })?.OrderBy(qitem => qitem.SortNum)?.ToList();
for (var i = 0; i < days; i++)
{
......
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