From aa42d64caced18fb47899b73730b2ec28e4f5c69 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 1 Apr 2025 18:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= 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 a947dd946..ab579ce76 100644 --- a/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/AuditDocumentService.cs @@ -162,7 +162,7 @@ public class AuditDocumentService(IRepository _auditDocumentRepos await findParent(result, inDto.Id); async Task findParent(List datas, Guid id) { - var data= await _auditDocumentRepository.Where(x => x.Id == inDto.Id).ProjectTo(_mapper.ConfigurationProvider).FirstNotNullAsync(); + var data= await _auditDocumentRepository.Where(x => x.Id == id).ProjectTo(_mapper.ConfigurationProvider).FirstNotNullAsync(); datas.Add(data); if (data.ParentId != null) {