From bc1a6562d5f7adf1249e591b0d957506966a112d Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Sun, 28 Sep 2025 14:58:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=BE=91=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E9=87=8D=E5=A4=8D=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/AuditDocumentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs b/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs index a769b27ca..6cd39dc14 100644 --- a/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs @@ -133,7 +133,7 @@ public class AuditDocumentService(IRepository _auditDocumentRepos return ResponseOutput.NotOk(_localizer["AuditDocument_RepeatAuditRecord"]); } - var find = _auditRecordRepository.Where(t => t.Id == addOrEditAuditRecord.Id, true).FirstOrDefault(); + var find = _auditRecordRepository.Where(t => t.Id == addOrEditAuditRecord.Id, true).Include(t=>t.AuditRecordIdentityUserList).FirstOrDefault(); _mapper.Map(addOrEditAuditRecord, find); find.UpdateTime = DateTime.Now;