From 400b8e3ca919db8a2a69a0b633c04b3ce24d3536 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Fri, 25 Apr 2025 11:59:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E8=BF=9E=E9=80=9A=E3=80=90=E8=AE=B2?= =?UTF-8?q?=E5=B8=88=E8=B4=B9=E7=94=A8=E7=94=B3=E8=AF=B7=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Services/CommonServices.cs | 6 +++--- Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tiobon.Core.Services/CommonServices.cs b/Tiobon.Core.Services/CommonServices.cs index f9711b6e..91614afe 100644 --- a/Tiobon.Core.Services/CommonServices.cs +++ b/Tiobon.Core.Services/CommonServices.cs @@ -4363,9 +4363,9 @@ public partial class CommonServices : BaseServices>, ICommon id = await Db.Insertable(dict).ExecuteReturnSnowflakeIdAsync(); - var StaffUserId = await Db.Queryable().Where(x => x.UserStaffID == dict.TeacherId).Select(x => x.UserId).FirstAsync(); - if (StaffUserId > 0) - param.userId = StaffUserId; + //var StaffUserId = await Db.Queryable().Where(x => x.UserStaffID == dict.TeacherId).Select(x => x.UserId).FirstAsync(); + //if (StaffUserId > 0) + // param.userId = StaffUserId; sql = $"SELECT ISNULL(MAX(id)+1,1) FROM Ghre_TrainFeeApplyOrder_Boltone WHERE Id !='{id}' and len(Id) !=19"; var id1 = await Db.Ado.GetLongAsync(sql); diff --git a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs index b42552d0..5078a109 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs @@ -898,15 +898,15 @@ public class Ghre_ExamRecordServices : BaseServices new ExamGroup() { GroupId = x.GroupId, ExamRecordId = x.ExamRecordId, - ExamTime = x.ExamTime.ObjToString() + (x.Score != null ? $"等分:{x.Score}" : ""), + ExamTime = x.ExamTime.ObjToString() + (x.Score != null ? $"得分:{x.Score}" : ""), }).ToList(); return ServiceResult.OprateSuccess("查询成功!", extend);