|
|
@@ -1211,6 +1211,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest |
|
|
|
.FirstOrDefault(m => m.LessonNo == item.LessonSortDetailNo)?.LessonSortDetailNo, |
|
|
|
StartWeek = item.StartWeek, |
|
|
|
EndWeek = item.EndWeek, |
|
|
|
WeekLessonHour = item.ClassHour, |
|
|
|
CheckStyleNo = "1", |
|
|
|
ScoreRecordStyleNo = "1", |
|
|
|
TeachDeptNo = majorData.FirstOrDefault(m => m.MajorNo == item.MajorNo)?.DeptNo, |
|
|
@@ -1221,7 +1222,8 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest |
|
|
|
CheckMarkDept = "1", |
|
|
|
CheckMark = "1", |
|
|
|
TestMark = 0, |
|
|
|
F_SchoolId = item.F_SchoolId |
|
|
|
F_SchoolId = item.F_SchoolId, |
|
|
|
State = 0 |
|
|
|
}; |
|
|
|
if (openLessonPlanData.Count(m => m.AcademicYearNo == insertData.AcademicYearNo && |
|
|
|
m.Semester == insertData.Semester && |
|
|
@@ -1246,8 +1248,7 @@ WHERE (AcademicYearNo = '" + strAcademicYear + "') and semester='" + strSemest |
|
|
|
} |
|
|
|
await BaseRepository("CollegeMIS").InsertAsync(insertDataList); |
|
|
|
} |
|
|
|
#region MyRegion |
|
|
|
//学生选课数据 |
|
|
|
#region 学生选课数据 |
|
|
|
var TeachClassData = (await BaseRepository("CollegeMIS").FindListAsync<TeachClassEntity>(@"SELECT * |
|
|
|
FROM TeachClass |
|
|
|
WHERE (AcademicYearNo = '" + entity.AcademicYearNo + "') and semester='" + entity.Semester + "' and F_SchoolId='" + entity.F_SchoolId + "' ")).ToList(); |
|
|
|