From e03ec451dfd82690f7208c17cda2bbe9ed1696ba Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Tue, 17 Dec 2024 14:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=8F=AD?= =?UTF-8?q?=E7=BA=A7=E5=BC=80=E8=AF=BE=E8=AE=A1=E5=88=92=EF=BC=9A=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E8=AE=BE=E7=BD=AE=E5=BD=95=E6=88=90=E7=BB=A9=E6=95=99?= =?UTF-8?q?=E5=B8=88=E6=97=B6=E6=9B=B4=E6=96=B0=E6=95=99=E5=B8=88=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E5=8D=95=E8=A1=A8=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/StuScore/StuScoreService.cs | 3 +++ 1 file changed, 3 insertions(+) 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 98259cf97..9df686593 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 @@ -1984,6 +1984,9 @@ where StuNo not in(Select StuNo from stuscore s where s.Academicyearno = sl.Acad StringBuilder sb = new StringBuilder(); sb.Append(" update StuScore set EmpNo ='" + EmpNo + "' where classno = '" + classNo + "' and Semester ='" + xq + "' and AcademicYearNo ='" + xn + "' and LessonNo ='" + LessonNo + "' and empno = '" + hisempno + "' and Grade='" + Grade + "' and LessonSortNo='" + LessonSortNo + "' "); this.BaseRepository("CollegeMIS").ExecuteBySql(sb.ToString()); + //教师成绩单 + var str = $"update EmpReportCard set EmpNo='{EmpNo}',EmpName=(select EmpName from EmpInfo where EmpNo='{EmpNo}') where AcademicYearNo='{xn}' and Semester='{xq}' and LessonNo='{LessonNo}' and ClassNo='{classNo}' and EmpNo='{hisempno}' and LessonSortNo='{LessonSortNo}' "; + this.BaseRepository("CollegeMIS").ExecuteBySql(str); } catch (Exception ex) {