+
-
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_InvigilateTeacher/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_InvigilateTeacher/Index.js
index ba0df12a6..e7ade3958 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_InvigilateTeacher/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_InvigilateTeacher/Index.js
@@ -32,6 +32,15 @@ var bootstrap = function ($, learun) {
value: 'value',
text: 'text'
});
+ $.get('/Home/GetYearAndSemesteResult', function (ref) {
+ if (ref.code == "200") {
+ $('#AcademicYearNo').lrselectSet(ref.data.Item1);
+ $('#Semester').lrselectSet(ref.data.Item3);
+ }
+ }.bind(this), "json");
+ $('#ITEnabled').lrDataItemSelect({
+ code: "YesOrNoBit"
+ });
// 刷新
$('#lr_refresh').on('click',
function () {
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamLesson/Exam_ExamLessonService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamLesson/Exam_ExamLessonService.cs
index 9c701d454..b3fd1d18a 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamLesson/Exam_ExamLessonService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamLesson/Exam_ExamLessonService.cs
@@ -49,6 +49,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("Semester", queryParam["Semester"].ToString(), DbType.String);
strSql.Append(" AND t.Semester = @Semester ");
}
+ if (!queryParam["ELEnabled"].IsEmpty())
+ {
+ dp.Add("ELEnabled", queryParam["ELEnabled"].ToString(), DbType.String);
+ strSql.Append(" AND t.ELEnabled = @ELEnabled ");
+ }
if (!queryParam["LessonNo"].IsEmpty())
{
dp.Add("LessonNo", "%" + queryParam["LessonNo"].ToString() + "%", DbType.String);
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamRoom/Exam_ExamRoomService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamRoom/Exam_ExamRoomService.cs
index 0b12a54a3..24e7a7920 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamRoom/Exam_ExamRoomService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamRoom/Exam_ExamRoomService.cs
@@ -47,6 +47,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("Semester", queryParam["Semester"].ToString(), DbType.String);
strSql.Append(" AND t.Semester = @Semester ");
}
+ if (!queryParam["EREnabled"].IsEmpty())
+ {
+ dp.Add("EREnabled", queryParam["EREnabled"].ToString(), DbType.String);
+ strSql.Append(" AND t.EREnabled = @EREnabled ");
+ }
if (!queryParam["ClassroomNo"].IsEmpty())
{
dp.Add("ClassroomNo", "%" + queryParam["ClassroomNo"].ToString() + "%", DbType.String);
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs
index 74f7aad2f..37c225767 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs
@@ -49,6 +49,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("Semester", queryParam["Semester"].ToString(), DbType.String);
strSql.Append(" AND t.Semester = @Semester ");
}
+ if (!queryParam["ESEnabled"].IsEmpty())
+ {
+ dp.Add("ESEnabled", queryParam["ESEnabled"].ToString(), DbType.String);
+ strSql.Append(" AND t.ESEnabled = @ESEnabled ");
+ }
if (!queryParam["ClassNo"].IsEmpty())
{
dp.Add("ClassNo", queryParam["ClassNo"].ToString(), DbType.String);
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_InvigilateTeacher/Exam_InvigilateTeacherService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_InvigilateTeacher/Exam_InvigilateTeacherService.cs
index 06988eb79..28a2fa132 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_InvigilateTeacher/Exam_InvigilateTeacherService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_InvigilateTeacher/Exam_InvigilateTeacherService.cs
@@ -50,6 +50,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("Semester", queryParam["Semester"].ToString(), DbType.String);
strSql.Append(" AND t.Semester = @Semester ");
}
+ if (!queryParam["ITEnabled"].IsEmpty())
+ {
+ dp.Add("ITEnabled", queryParam["ITEnabled"].ToString(), DbType.String);
+ strSql.Append(" AND t.ITEnabled = @ITEnabled ");
+ }
if (!queryParam["EmpNo"].IsEmpty())
{
dp.Add("EmpNo", "%" + queryParam["EmpNo"].ToString() + "%", DbType.String);
@@ -361,7 +366,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
,[EmpNo]
,[ITOrder]
,[ITEnabled])
-select newid(),'{AcademicYearNo}','{Semester}',empname,empno,0,1 from empinfo where checkmark=1
+select newid(),'{AcademicYearNo}','{Semester}',empname,empno,0,1 from empinfo where checkmark=1 and IsHasLesson=1 and IsInActiveStatus=1
and empno not in (select empno from Exam_InvigilateTeacher where AcademicYearNo='{AcademicYearNo}' and Semester='{Semester}')
";
return this.BaseRepository("CollegeMIS").ExecuteBySql(sql);
diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO.7z b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO.7z
new file mode 100644
index 000000000..afec6f1e3
Binary files /dev/null and b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/SSO.7z differ