|
|
@@ -266,7 +266,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration |
|
|
|
,[LessonNo] |
|
|
|
,[ELOrder] |
|
|
|
,[ELEnabled],ExamTime,LessonTypeId,DeptNo,MajorNo) |
|
|
|
select NEWID(),AcademicYearNo,t.Semester,Grade,t.LessonName,t.[LessonNo],0,1,'{ExamTime}',a.lessontypeid,t.DeptNo,t.MajorNo from OpenLessonPlan t |
|
|
|
select NEWID(),AcademicYearNo,t.Semester,replace(Grade,'级','') Grade,t.LessonName,t.[LessonNo],0,1,'{ExamTime}',a.lessontypeid,t.DeptNo,t.MajorNo from OpenLessonPlan t |
|
|
|
left join lessoninfo a on t.lessonno=a.lessonno |
|
|
|
where t.ExamType='1' and t.lessonsortno=1 and t.AcademicYearNo='{AcademicYearNo}' and t.Semester='{Semester}' |
|
|
|
and t.[LessonNo] not in (select [LessonNo] from Exam_ExamLesson where AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' ) |
|
|
|