From 714ec1ed6850f8a5113a056868c4d0d85cd345e8 Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Fri, 2 Dec 2022 10:20:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E8=AF=B7=E5=81=87=E7=AE=A1=E7=90=86=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E8=80=83=E5=8B=A4=E7=9A=84=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StuLeaveManagement/StuLeaveManagementService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuLeaveManagement/StuLeaveManagementService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuLeaveManagement/StuLeaveManagementService.cs index dd7118f6d..cf574d924 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuLeaveManagement/StuLeaveManagementService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuLeaveManagement/StuLeaveManagementService.cs @@ -345,8 +345,8 @@ and a.lessondate between '{startTime}' and '{endTime}'"); stuAttendanceEntity.AcademicYearNo = arrangeLessonTerm.AcademicYearNo; stuAttendanceEntity.Semester = arrangeLessonTerm.Semester; stuAttendanceEntity.StuNo = model.CreateUserNo; - stuAttendanceLeave.StuName = arrangeLessonTerm.StuName; - stuAttendanceEntity.Gender = arrangeLessonTerm.GenderNo=="0"?"女":"男"; + stuAttendanceEntity.StuName = arrangeLessonTerm.StuName; + stuAttendanceEntity.Gender = arrangeLessonTerm.GenderNo.ToLower()=="true"?"男":"女"; stuAttendanceEntity.Grade = arrangeLessonTerm.Grade; stuAttendanceEntity.DeptNo = arrangeLessonTerm.DeptNo; stuAttendanceEntity.DeptName = deptList.Where(x => x.DeptNo == arrangeLessonTerm.DeptNo)