From d607556812f9dae6024ec106d2a4892217d6912d Mon Sep 17 00:00:00 2001 From: dao Date: Mon, 8 Jul 2024 12:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8B=A4=20=E6=89=93=E5=8D=A1?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=8E=88=E8=AF=BE=E6=89=93=E5=8D=A1BUG?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ADR_Restriction/ADR_RestrictionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs index c2ef0d53a..4cc9a8a58 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionService.cs @@ -2209,7 +2209,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement var wholeLessonList = new List(); //必修课 var lessons = BaseRepository("CollegeMIS").FindList(m => m.AcademicYearNo == say.AcademicYearShort && m.Semester == say.Semester - && m.EmpNo == entity.UserNo && m.LessonDate.Value == datenowdatetime); + && m.EmpNo == entity.UserNo && m.LessonDate.Value == datenowdatetime && m.CheckMark == "1"); wholeLessonList.AddRange(lessons); //选修课 var lessonelective = BaseRepository("CollegeMIS").FindList($@"select a.Id as ALTId, a.LessonDate, a.AcademicYearNo, a.Semester, a.LessonNo, a.LessonName, a.LessonSortNo,