Commit 45609ce9 authored by 黄奎's avatar 黄奎

1

parent d986f194
...@@ -552,10 +552,10 @@ namespace Edu.WebApi.Controllers.Course ...@@ -552,10 +552,10 @@ namespace Edu.WebApi.Controllers.Course
List<RB_Course_ViewModel> courseList = new List<RB_Course_ViewModel>(); List<RB_Course_ViewModel> courseList = new List<RB_Course_ViewModel>();
TeacherList = classModule.GetAppointmentPlanStatExport(StartDate, EndDate, TeacherId, ClassRoomId, ClassType, AppointState, base.UserInfo.Group_Id, out list, out reserveList, out appointList, out timeList, out guestList, out tempGuestList, out visitorList, out chatperList,out courseList); TeacherList = classModule.GetAppointmentPlanStatExport(StartDate, EndDate, TeacherId, ClassRoomId, ClassType, AppointState, base.UserInfo.Group_Id, out list, out reserveList, out appointList, out timeList, out guestList, out tempGuestList, out visitorList, out chatperList,out courseList);
TeacherList = TeacherList?.Where(qitem => qitem.Dept_Id == 8)?.OrderBy(qitem => qitem.SortNum)?.ToList(); TeacherList = TeacherList?.Where(qitem => qitem.Dept_Id == 8)?.OrderBy(qitem => qitem.SortNum)?.ToList();
if (TeacherList != null) //if (TeacherList != null)
{ //{
TeacherList.Add(new RB_Teacher_ViewModel() { TId = 0, TeacherName = "无" }); // TeacherList.Add(new RB_Teacher_ViewModel() { TId = 0, TeacherName = "无" });
} //}
try try
{ {
ExcelDataSource headerTimeFrist = new ExcelDataSource() ExcelDataSource headerTimeFrist = new ExcelDataSource()
......
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