修改接口 上传
parent
e5edc33146
commit
872c16f11f
|
@ -212,8 +212,11 @@ namespace IRaCIS.Api.Controllers
|
|||
return ResponseOutput.NotOk("未完成该检查的归档", archiveResult);
|
||||
}
|
||||
|
||||
await _inspectionService.AddInspectionRecordAsync(
|
||||
JsonConvert.DeserializeObject<DataInspectionAddDTO>(archiveStudyCommand.AuditInfo));
|
||||
DataInspectionAddDTO data = JsonConvert.DeserializeObject<DataInspectionAddDTO>(archiveStudyCommand.AuditInfo);
|
||||
data.GeneralId = archivedStudyIds[0];
|
||||
|
||||
|
||||
await _inspectionService.AddInspectionRecordAsync(data);
|
||||
|
||||
return ResponseOutput.Ok(archiveResult);
|
||||
|
||||
|
|
|
@ -186,8 +186,9 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
var result= await UploadNoneDicomFile(file, fileDto.subjectVisitId, fileDto.noneDicomStudyId);
|
||||
if (result.IsSuccess)
|
||||
{
|
||||
await _inspectionService.AddInspectionRecordAsync(
|
||||
JsonConvert.DeserializeObject<DataInspectionAddDTO>(fileDto.AuditInfo));
|
||||
var data = JsonConvert.DeserializeObject<DataInspectionAddDTO>(fileDto.AuditInfo);
|
||||
data.GeneralId = fileDto.noneDicomStudyId;
|
||||
await _inspectionService.AddInspectionRecordAsync(data);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue