修改接口 上传
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user