修改维护 文档的稽查
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-08-15 11:16:47 +08:00
parent 5186a530f8
commit 0b707117c6
3 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,8 @@ namespace IRaCIS.Core.Application.Contracts
public bool OffLine { get; set; }
public Guid SystemDocumentId { get; set; }
public DateTime UpdateTime { get; set; }
}
public class SystemDocumentAttachmentQuery : PageInput
@ -397,6 +399,8 @@ namespace IRaCIS.Core.Application.Contracts
public bool OffLine { get; set; }
public Guid TrialDocumentId { get; set; }
public DateTime UpdateTime { get; set; }
}
public class TrialDocumentAttachmentQuery : PageInput

View File

@ -60,6 +60,7 @@ namespace IRaCIS.Core.Application.Services
addOrEditSystemDocumentAttachment.UpdateTime = DateTime.Now;
var entity = await _systemDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditSystemDocumentAttachment, true);
return ResponseOutput.Ok(entity.Id.ToString());

View File

@ -72,6 +72,7 @@ namespace IRaCIS.Core.Application.Services
{
// 在此处拷贝automapper 映射
addOrEditTrialDocumentAttachment.UpdateTime = DateTime.Now;
var entity = await _trialDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditTrialDocumentAttachment, true);
return ResponseOutput.Ok(entity.Id.ToString());