diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index 46821e22b..2bc97ef7e 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -703,6 +703,18 @@ namespace IRaCIS.Core.Application.Image.QA } + //new() + //{ + // TrialId = trialId, + // CreateTime = DateTime.Now, + // FileName = fileName, + // FilePath = filePath, + // CreateUser = + // RelativePaths = filePath.Replace(rootPath, ""); + //}; + + + await _mediator.Send(new ConsistencyVerificationRequest() { ETCList = etcCheckList, TrialId = trialId }); return ResponseOutput.Ok(); diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 667681b1a..b3d385c6c 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -610,7 +610,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common SubjectVisitName = x.VisitName, BlindName = x.BlindName, Reason = reason, - }); + },null, item.OriginalValues); } // 既往手术史 @@ -885,22 +885,22 @@ namespace IRaCIS.Core.Infra.EFCore.Common type = type + (entity.ParentId == null ? "/parent" : string.Empty); break; case nameof(Trial): - entity = originaldata as Trial; + var oldentity = originaldata as Trial; switch (_userInfo.RequestUrl.ToLower()) { case "configtrialbasicinfo/configtrialbasicinfoconfirm": - type = type + "/" + entity.IsTrialBasicLogicConfirmed.ToString(); + type = type + "/" + oldentity.IsTrialBasicLogicConfirmed.ToString(); break; case "configtrialbasicinfo/configtrialprocessinfoconfirm": - type = type + "/" + entity.IsTrialProcessConfirmed.ToString(); + type = type + "/" + oldentity.IsTrialProcessConfirmed.ToString(); break; case "configtrialbasicinfo/configtrialurgentinfoconfirm": - type = type + "/" + entity.IsTrialUrgentConfirmed.ToString(); + type = type + "/" + oldentity.IsTrialUrgentConfirmed.ToString(); break; } break; case nameof(SubjectVisit): - entity = originaldata as SubjectVisit; + entity = entityobj as SubjectVisit; switch (_userInfo.RequestUrl.ToLower()) { case "qcoperation/obtainorcancelqctask":