From 6306c6752adcebe4795dfbb25fde08e65c1b8018 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 17 Mar 2025 16:23:38 +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 --- IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs index cca070af8..06c292998 100644 --- a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs @@ -231,6 +231,7 @@ namespace IRaCIS.Core.Application.Service await _attachmentrepository.DeleteFromQueryAsync(a => a.DoctorId == attachment.DoctorId && a.Type == attachment.Type); } + attachment.UpdateTime = DateTime.Now; await _attachmentrepository.UpdateFromDTOAsync(attachment); await _attachmentrepository.SaveChangesAsync();