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