Compare commits
2 Commits
0b707117c6
...
0f0967f893
| Author | SHA1 | Date |
|---|---|---|
|
|
0f0967f893 | |
|
|
56165f5037 |
|
|
@ -35,8 +35,6 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public bool OffLine { get; set; }
|
public bool OffLine { get; set; }
|
||||||
|
|
||||||
public Guid SystemDocumentId { get; set; }
|
public Guid SystemDocumentId { get; set; }
|
||||||
|
|
||||||
public DateTime UpdateTime { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SystemDocumentAttachmentQuery : PageInput
|
public class SystemDocumentAttachmentQuery : PageInput
|
||||||
|
|
@ -399,8 +397,6 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public bool OffLine { get; set; }
|
public bool OffLine { get; set; }
|
||||||
|
|
||||||
public Guid TrialDocumentId { get; set; }
|
public Guid TrialDocumentId { get; set; }
|
||||||
|
|
||||||
public DateTime UpdateTime { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrialDocumentAttachmentQuery : PageInput
|
public class TrialDocumentAttachmentQuery : PageInput
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@ namespace IRaCIS.Core.Application.Services
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
addOrEditSystemDocumentAttachment.UpdateTime = DateTime.Now;
|
|
||||||
var entity = await _systemDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditSystemDocumentAttachment, true);
|
var entity = await _systemDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditSystemDocumentAttachment, true);
|
||||||
|
|
||||||
return ResponseOutput.Ok(entity.Id.ToString());
|
return ResponseOutput.Ok(entity.Id.ToString());
|
||||||
|
|
@ -137,7 +136,7 @@ namespace IRaCIS.Core.Application.Services
|
||||||
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
|
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
|
||||||
|
|
||||||
_mapper.Map(addOrEditSystemDocument, document);
|
_mapper.Map(addOrEditSystemDocument, document);
|
||||||
|
document.UpdateTime = DateTime.Now;
|
||||||
#region 之前区分路径文件夹 现在不区分废弃
|
#region 之前区分路径文件夹 现在不区分废弃
|
||||||
|
|
||||||
//if (document.FileTypeId != addOrEditSystemDocument.FileTypeId)
|
//if (document.FileTypeId != addOrEditSystemDocument.FileTypeId)
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,6 @@ namespace IRaCIS.Core.Application.Services
|
||||||
{
|
{
|
||||||
// 在此处拷贝automapper 映射
|
// 在此处拷贝automapper 映射
|
||||||
|
|
||||||
addOrEditTrialDocumentAttachment.UpdateTime = DateTime.Now;
|
|
||||||
var entity = await _trialDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditTrialDocumentAttachment, true);
|
var entity = await _trialDocumentAttachmentRepository.InsertOrUpdateAsync(addOrEditTrialDocumentAttachment, true);
|
||||||
|
|
||||||
return ResponseOutput.Ok(entity.Id.ToString());
|
return ResponseOutput.Ok(entity.Id.ToString());
|
||||||
|
|
@ -1065,7 +1064,7 @@ namespace IRaCIS.Core.Application.Services
|
||||||
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
|
var beforeUserTypeIds = document.NeedConfirmedUserTypeList.Select(x => x.NeedConfirmUserTypeId).ToList();
|
||||||
|
|
||||||
_mapper.Map(addOrEditTrialDocument, document);
|
_mapper.Map(addOrEditTrialDocument, document);
|
||||||
|
document.UpdateTime = DateTime.Now;
|
||||||
#region 不区分路径了
|
#region 不区分路径了
|
||||||
|
|
||||||
//if (document.FileTypeId != addOrEditTrialDocument.FileTypeId)
|
//if (document.FileTypeId != addOrEditTrialDocument.FileTypeId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue