@@ -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
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user