Commit ca1904a4 authored by 黄奎's avatar 黄奎

页面修改

parent bd7343e6
...@@ -157,7 +157,9 @@ namespace Edu.Module.Course ...@@ -157,7 +157,9 @@ namespace Edu.Module.Course
{ {
//提前时间 //提前时间
string Scroll_Time = dictvalueRepository.GetList(new Model.ViewModel.User.RB_Dictvalue_Extend() { RB_Group_id = groupId, DictKey = "Scroll_Time" }).FirstOrDefault()?.Content ?? "00:00"; string Scroll_Time = dictvalueRepository.GetList(new Model.ViewModel.User.RB_Dictvalue_Extend() { RB_Group_id = groupId, DictKey = "Scroll_Time" }).FirstOrDefault()?.Content ?? "00:00";
// Scroll_Time = "11:00:00";
//按照设置的时间来判定 //按照设置的时间来判定
if (DateTime.Now.Hour == Convert.ToDateTime("2022-01-25 " + Scroll_Time).Hour) if (DateTime.Now.Hour == Convert.ToDateTime("2022-01-25 " + Scroll_Time).Hour)
{ {
Common.Plugin.LogHelper.WriteInfo("CreateScrollAppointment:Start" ); Common.Plugin.LogHelper.WriteInfo("CreateScrollAppointment:Start" );
...@@ -186,7 +188,7 @@ namespace Edu.Module.Course ...@@ -186,7 +188,7 @@ namespace Edu.Module.Course
#endregion #endregion
List<int> CancelStuId = new List<int>(); List<int> CancelStuId = new List<int>();
var tempAppointList = AppointList.GroupBy(x => new { x.Date, x.AccountId, x.WorkUserId, x.TeacherId, x.TeacherName, x.CourseId, x.CourseName, x.CourseGradeId, x.CourseGradeNo, x.ShiftSort, x.CourseTimeId, x.RoomId, x.RoomName, x.RoomSchoolId, x.RoomSchoolName, x.ScrollMinNum }).OrderBy(x => x.Key.Date).ThenBy(x => x.Key.ShiftSort).ToList(); var tempAppointList = AppointList.GroupBy(x => new { x.Date, x.AccountId, x.WorkUserId, x.TeacherId, x.TeacherName, x.CourseId, x.CourseName, x.ChapterNo, x.ShiftSort, x.CourseTimeId, x.RoomId, x.RoomName, x.RoomSchoolId, x.RoomSchoolName, x.ScrollMinNum }).OrderBy(x => x.Key.Date).ThenBy(x => x.Key.ShiftSort).ToList();
//以老师为单位 遍历 //以老师为单位 遍历
foreach (var item in tempAppointList) foreach (var item in tempAppointList)
{ {
......
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