Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs파일 보기
strSql.Append($" AND t.AcademicYearNo = '{examPlan.AcademicYearNo}' AND t.Semester = '{examPlan.Semester}' AND t.ESType = '{examPlan.PlanType}' and t.ImportDeptNo='{examPlan.ImportDeptNo}' ");
}
}
strSql.Append(" group by t.ClassNo,t.AcademicYearNo,t.Semester,t.ESType,c.ClassName ");
strSql.Append(@" group by t.ClassNo,t.AcademicYearNo,t.Semester,t.ESType,t.ImportDeptNo,c.ClassName
)zb
left join classinfo c on zb.ClassNo=c.ClassNo
left join Exam_ExamPlan d on zb.ImportDeptNo=d.ImportDeptNo
group by zb.ClassNo,zb.AcademicYearNo,zb.Semester,zb.ESType,zb.ImportDeptNo,zb.StuNum,zb.ClassName ");
@@ -429,7 +431,7 @@ from StuInfoBasic a where CheckMark = '1' and (ChangeStatus is null or len(Chang
strSql.Append(@" a left join StuInfoBasic b on b.StuNo=a.StuNo
where 1=1 and a.LessonSortNo='1' and a.Score>=0 and a.Score<60 ");
strSql.Append(" and a.AcademicYearNo ='" + AcademicYearNo + "' and a.Semester ='" + Semester + "' ");
strSql.Append(" and (b.ChangeStatus<>'1' or len(b.ChangeStatus)=0 or b.ChangeStatus is null) "+ sqldept2);
strSql.Append(" and (b.ChangeStatus<>'1' or len(b.ChangeStatus)=0 or b.ChangeStatus is null) "+ sqldept2);
strSql.Append($@" and a.stuno not in
(select stuno from Exam_ExamStudent where AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}' and ESType='{ESType}' and ImportDeptNo='{ImportDeptNo}'