From edaec9a3407db31791fbfe308beed9eec3b84865 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Wed, 15 May 2024 15:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=80=83=E8=AF=95=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E5=AF=BC=E5=85=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StuScoreNotPass/StuScoreNotPassService.cs | 2 +- .../StuScoreNotPassTwo/StuScoreNotPassTwoService.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs index f416c496a..cc8ee52a7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs @@ -891,7 +891,7 @@ order by bb.ScoreId"; continue; } var Score = Math.Round(TermEndScore, MidpointRounding.AwayFromZero); - var remark = dr["备注"].ToString().Trim(); + var remark = dr["考试类型"].ToString().Trim(); db.ExecuteBySql($"update StuScoreNotPass set TermEndScore={TermEndScore},Score={Score},Remark='{remark}' where ScoreId='{item.ScoreId}' "); } diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs index 156b93ade..899ca5b2f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs @@ -570,7 +570,7 @@ order by bb.ScoreId"; var strSql = new StringBuilder(); strSql.Append("select distinct s.LessonNo as value,s.LessonName as text from StuScoreNotPassTwo s "); strSql.Append(" left join LessonInfo l on s.LessonNo=l.LessonNo left join CdLessonType t on l.LessonTypeId=t.LTId "); - strSql.Append(" where s.LessonSortNo='1' and t.LessonTypeCode='OpenLesson' "); + strSql.Append(" where s.LessonSortNo='1' ");// and t.LessonTypeCode='OpenLesson' "); if (userType == "教师") { strSql.Append(" and s.EmpNo='" + userAccount + "' "); @@ -938,7 +938,7 @@ order by bb.ScoreId"; continue; } var Score = Math.Round(TermEndScore, MidpointRounding.AwayFromZero); - var remark = dr["备注"].ToString().Trim(); + var remark = dr["考试类型"].ToString().Trim(); db.ExecuteBySql($"update StuScoreNotPassTwo set TermEndScore={TermEndScore},Score={Score},Remark='{remark}' where ScoreId='{item.ScoreId}' "); }