From a0180958825a075f4b7577446fde98de570ae168 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Wed, 4 Jun 2025 16:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=8F=91=E6=94=BE?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E8=A7=84=E5=88=99=E6=96=B0=E5=A2=9E=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E7=BC=96=E5=8F=B7=E5=A4=84=E7=90=86=EF=BC=8C=E4=BE=9D?= =?UTF-8?q?=E6=8D=AE=E8=AE=BE=E8=AE=BE=E5=AE=9A=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Ghre/Ghre_ExamRecordServices.cs | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs index c20b919f..0135491e 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_ExamRecordServices.cs @@ -2,7 +2,9 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using MongoDB.Driver.Linq; +using MySqlX.XDevAPI.Common; using System.Net; +using System.Text; using System.Text.RegularExpressions; using static Tiobon.Core.Model.Consts; @@ -1682,6 +1684,18 @@ public class Ghre_ExamRecordServices : BaseServices /// 处理证书数据 /// @@ -1708,6 +1722,10 @@ public class Ghre_ExamRecordServices : BaseServices() + .Where(x => x.CertificateRuleId == rule.Id && x.field == "CertificateNo") + .FirstAsync(); + if (examRecordId != null) { if (rule.SendRule == "ExamPass" && !await Db.Queryable() @@ -1759,6 +1777,22 @@ public class Ghre_ExamRecordServices : BaseServices