Commit 1dbae8f2 authored by liudong1993's avatar liudong1993

1

parent 731be89b
......@@ -4511,7 +4511,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, IsShow = 1 });
for (var i = 0; i < days; i++)
{
......
......@@ -82,6 +82,10 @@ WHERE 1=1
{
builder.AppendFormat(" AND t.{0} IN({1}) ", nameof(RB_Teacher_ViewModel.LeaveStatus), "1,2,3,4");
}
if (query.IsShow > 0)
{
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Teacher_ViewModel.IsShow), query.IsShow);
}
}
return Get<RB_Teacher_ViewModel>(builder.ToString(), parameters).ToList();
}
......
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