Compare commits

..

No commits in common. "0f0967f89332cd58e18f34caf4e6a3dea2d07297" and "0b707117c6c6a2b83bddf909e89ca494d1c7314a" have entirely different histories.

3 changed files with 8 additions and 2 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());
@ -136,7 +137,7 @@ namespace IRaCIS.Core.Application.Services
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
_mapper.Map(addOrEditSystemDocument, document);
document.UpdateTime = DateTime.Now;
#region 之前区分路径文件夹 现在不区分废弃
//if (document.FileTypeId != addOrEditSystemDocument.FileTypeId)

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());
@ -1064,7 +1065,7 @@ namespace IRaCIS.Core.Application.Services
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
_mapper.Map(addOrEditTrialDocument, document);
document.UpdateTime = DateTime.Now;
#region 不区分路径了
//if (document.FileTypeId != addOrEditTrialDocument.FileTypeId)