From 56165f5037d14354f8671627dd8bce9c10638b28 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 15 Aug 2025 11:24:46 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E6=94=B9=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=20=E6=96=87=E6=A1=A3=E7=9A=84=E7=A8=BD=E6=9F=A5"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0b707117c6c6a2b83bddf909e89ca494d1c7314a. --- .../Service/Document/DTO/SystemDocumentViewModel.cs | 4 ---- .../Service/Document/SystemDocumentService.cs | 1 - .../Service/Document/TrialDocumentService.cs | 1 - 3 files changed, 6 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs index 451dbb1f5..dd2a41d35 100644 --- a/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs +++ b/IRaCIS.Core.Application/Service/Document/DTO/SystemDocumentViewModel.cs @@ -35,8 +35,6 @@ namespace IRaCIS.Core.Application.Contracts public bool OffLine { get; set; } public Guid SystemDocumentId { get; set; } - - public DateTime UpdateTime { get; set; } } public class SystemDocumentAttachmentQuery : PageInput @@ -399,8 +397,6 @@ namespace IRaCIS.Core.Application.Contracts public bool OffLine { get; set; } public Guid TrialDocumentId { get; set; } - - public DateTime UpdateTime { get; set; } } public class TrialDocumentAttachmentQuery : PageInput diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index 7f26fd19d..efea64699 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -60,7 +60,6 @@ namespace IRaCIS.Core.Application.Services - addOrEditSystemDocumentAttachment.UpdateTime = DateTime.Now; var entity = await _systemDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditSystemDocumentAttachment, true); return ResponseOutput.Ok(entity.Id.ToString()); diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index 7e5197ce2..8a44834a8 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -72,7 +72,6 @@ namespace IRaCIS.Core.Application.Services { // 在此处拷贝automapper 映射 - addOrEditTrialDocumentAttachment.UpdateTime = DateTime.Now; var entity = await _trialDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditTrialDocumentAttachment, true); return ResponseOutput.Ok(entity.Id.ToString());