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