|
|
@@ -295,7 +295,7 @@ and a.lessondate between '{startTime}' and '{endTime}'"); |
|
|
|
stuAttendanceLeave.LessonName = arrangeLessonTerm.LessonName; |
|
|
|
stuAttendanceLeave.TeachClassNo = arrangeLessonTerm.TeachClassNo; |
|
|
|
stuAttendanceLeave.LessonSortNo = arrangeLessonTerm.LessonSortNo; |
|
|
|
//stuAttendanceLeave.LessonSortName = arrangeLessonTerm.LessonSortName; |
|
|
|
stuAttendanceLeave.LessonSortName = lessonSortList.Find(m => m.LessonSortNo == arrangeLessonTerm.LessonSortNo)?.LessonSortName; |
|
|
|
stuAttendanceLeave.LessonDate = arrangeLessonTerm.LessonDate; |
|
|
|
stuAttendanceLeave.LessonTime = arrangeLessonTerm.LessonTime; |
|
|
|
stuAttendanceLeave.LeaveType = "1"; |
|
|
@@ -336,7 +336,7 @@ and a.lessondate between '{startTime}' and '{endTime}'"); |
|
|
|
stuAttendanceEntity.AttendOrNo = "否"; |
|
|
|
stuAttendanceEntity.ClassRoomName = classRoomList.Find(x => x.ClassroomId.Trim() == arrangeLessonTerm.ClassroomNo.Trim())?.ClassroomName.Trim(); |
|
|
|
stuAttendanceEntity.ClassRoomNo = arrangeLessonTerm.ClassroomNo; |
|
|
|
stuAttendanceEntity.Gender = arrangeLessonTerm.GenderNo == "1" ? "男" : "女"; |
|
|
|
stuAttendanceEntity.Gender = arrangeLessonTerm.GenderNo.Trim() == "0" ? "女" : "男"; |
|
|
|
stuAttendanceEntity.CheckMarkDept = ""; |
|
|
|
stuAttendanceEntity.CheckMark = ""; |
|
|
|
stuAttendanceEntity.Create(); |
|
|
|