|
|
@@ -235,7 +235,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
,[LessonNo] |
|
|
|
,[ELOrder] |
|
|
|
,[ELEnabled]) |
|
|
|
select NEWID(),AcademicYearNo,Semester,Grade,DeptNo,MajorNo,LessonName,[LessonNo],0,1 from OpenLessonPlan where AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' |
|
|
|
select NEWID(),AcademicYearNo,Semester,Grade,DeptNo,MajorNo,LessonName,[LessonNo],0,1 from OpenLessonPlan where lessonsortno=1 and AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' |
|
|
|
and [LessonNo] not in (select [LessonNo] from Exam_ExamLesson where AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' ) |
|
|
|
"; |
|
|
|
return this.BaseRepository("CollegeMIS").ExecuteBySql(sql); |
|
|
|