From cf8d6da5b5782cc73b6a79e6c0560d9c73e9c23d Mon Sep 17 00:00:00 2001 From: wanghu Date: Wed, 9 Sep 2026 08:57:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/YhCore.Service/Impl/WYSHRoleService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/YhCore.Service/Impl/WYSHRoleService.cs b/src/YhCore.Service/Impl/WYSHRoleService.cs index bd38a78..aeee58d 100644 --- a/src/YhCore.Service/Impl/WYSHRoleService.cs +++ b/src/YhCore.Service/Impl/WYSHRoleService.cs @@ -848,7 +848,7 @@ namespace YhCore.Service.Impl } // 旧 WY_SHRoleP.Create/Edit 额外落库 rid/reid/grade/Examtype(WYDocPrintService 未覆盖,此处补写) - var doc = await _doc.FirstOrDefaultAsync(a => a.SerID == docPrintID); + var doc = await _doc.FirstOrDefaultTrackedAsync(a => a.SerID == docPrintID); if (doc != null) { doc.rid = model.docdata.rid;