From 966baa7486be0f291c8744cedae14eb4ba07a022 Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 26 Nov 2024 09:25:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BA=A7=E6=88=90=E7=BB=A9=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/StuScore/StuScoreService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs index b50e78457..39666bc5a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScore/StuScoreService.cs @@ -929,8 +929,8 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " insertDatastuselect.LessonSortNo = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.LessonSortNo; insertDatastuselect.StuSortNo = "02"; insertDatastuselect.Grade = stu.Grade; - insertDatastuselect.StudyScore = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo).StudyScore == null ? 0 : lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo).StudyScore; - insertDatastuselect.TotalStudyHour = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo).TotalStudyHour == null ? 0 : lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo).TotalStudyHour; + insertDatastuselect.StudyScore = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.StudyScore == null ? 0 : lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.StudyScore; + insertDatastuselect.TotalStudyHour = lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.TotalStudyHour == null ? 0 : lessonData.FirstOrDefault(m => m.LessonNo == itemteachclass.LessonNo)?.TotalStudyHour; insertDatastuselect.IsInEffect = "1"; insertDatastuselect.EmpNo = itemteachclass.EmpNo; insertDatastuselect.IsPitchOn = "1"; @@ -945,7 +945,7 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " m.LessonNo == insertDatastuselect.LessonNo && m.Grade == insertDatastuselect.Grade && m.OpenLessonDeptNo == insertDatastuselect.OpenLessonDeptNo && - m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo&& + m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo && m.F_SchoolId == insertDatastuselect.F_SchoolId) == 0 && insertStuSelectLessonListDataList.Count(m => m.StuNo == insertDatastuselect.StuNo && m.AcademicYearNo == insertDatastuselect.AcademicYearNo && m.Semester == insertDatastuselect.Semester && @@ -954,7 +954,7 @@ where AcademicYearNo='" + strAcademicYear + "' and Semester='" + strSemester + " m.LessonNo == insertDatastuselect.LessonNo && m.Grade == insertDatastuselect.Grade && m.OpenLessonDeptNo == insertDatastuselect.OpenLessonDeptNo && - m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo&& + m.OpenLessonMajorNo == insertDatastuselect.OpenLessonMajorNo && m.F_SchoolId == insertDatastuselect.F_SchoolId) == 0) { insertStuSelectLessonListDataList.Add(insertDatastuselect);