添加数据
This commit is contained in:
@@ -14,6 +14,7 @@ using IRaCIS.Core.Application.Service.Inspection.Interface;
|
||||
using IRaCIS.Core.Application.Service.Inspection.DTO;
|
||||
using Nito.AsyncEx;
|
||||
using IRaCIS.Application.Interfaces;
|
||||
using IRaCIS.Core.Domain.Common;
|
||||
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
@@ -138,7 +139,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
TrialId = subvisit.TrialId,
|
||||
SubjectVisitId = subvisit.Id,
|
||||
Identification = "Edit|Visit|Status|Visit-Image Upload|Add Image",
|
||||
JsonDetail = JsonConvert.SerializeObject(subvisit)
|
||||
JsonDetail = subvisit.ToJcJson()
|
||||
});
|
||||
|
||||
await _inspectionService.AddListInspectionRecordAsync(datas);
|
||||
@@ -189,7 +190,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
TrialId = subvisit.TrialId,
|
||||
SubjectVisitId = subvisit.Id,
|
||||
Identification = "Edit|Visit|Status|Visit-Image Upload|Add Image",
|
||||
JsonDetail = JsonConvert.SerializeObject(subvisit)
|
||||
JsonDetail = subvisit.ToJcJson()
|
||||
});
|
||||
|
||||
await _inspectionService.AddListInspectionRecordAsync(datas);
|
||||
|
||||
@@ -22,6 +22,7 @@ using IRaCIS.Core.Infrastructure;
|
||||
using IRaCIS.Core.Application.Service.Inspection.DTO;
|
||||
using Nito.AsyncEx;
|
||||
using IRaCIS.Application.Interfaces;
|
||||
using IRaCIS.Core.Domain.Common;
|
||||
|
||||
namespace IRaCIS.Core.Application.Image.QA
|
||||
{
|
||||
@@ -1051,7 +1052,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||
TrialId = subvisit.TrialId,
|
||||
SubjectVisitId = subvisit.Id,
|
||||
Identification = "Edit|Visit|Status|Visit-Image Upload|Add Image",
|
||||
JsonDetail = JsonConvert.SerializeObject(subvisit)
|
||||
JsonDetail = subvisit.ToJcJson()
|
||||
});
|
||||
await _inspectionService.AddListInspectionRecordAsync(datas);
|
||||
return ResponseOutput.Ok();
|
||||
@@ -1363,12 +1364,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||
TrialId = x.TrialId,
|
||||
SubjectVisitId = x.Id,
|
||||
Identification = "Edit|Visit|Status|Visit-Image Upload-1",
|
||||
JsonDetail = JsonConvert.SerializeObject(new
|
||||
{
|
||||
SubmitState = "已提交",
|
||||
AuditState="未审核",
|
||||
|
||||
})
|
||||
JsonDetail = x.ToJcJson(),
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1883,7 +1879,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||
IsSign = false,
|
||||
Identification = "Edit|Subject|Info|Subject",
|
||||
CreateTime = DateTime.Now.AddSeconds(1),
|
||||
JsonDetail = JsonConvert.SerializeObject(command)
|
||||
JsonDetail = command.ToJcJson()
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user