修改DTO

Uat_Study
hang 2023-07-31 17:04:01 +08:00
parent 427cb38f39
commit 179c283d75
5 changed files with 6 additions and 7 deletions

View File

@ -30,7 +30,7 @@ namespace IRaCIS.Core.Application.Contracts
public bool IsDeleted { get; set; }
public bool IsReading { get; set; } = true;
public string IamgeResizePath { get; set; }
public string ImageResizePath { get; set; }
}

View File

@ -41,7 +41,7 @@
public string WindowCenter { get; set; } = string.Empty;
public string WindowWidth { get; set; } = string.Empty;
public string IamgeResizePath { get; set; }
public string ImageResizePath { get; set; }
}
public class DicomSeriesWithLabelDTO : DicomSeriesDTO

View File

@ -280,7 +280,7 @@ namespace IRaCIS.Core.Application.Contracts
public string AcquisitionNumber { get; set; } = string.Empty;
public string TriggerTime { get; set; } = string.Empty;
public string IamgeResizePath { get; set; }=string.Empty;
public string ImageResizePath { get; set; }=string.Empty;
public List<AddInstanceDto> InstanceList { get; set; }

View File

@ -20,7 +20,7 @@ namespace IRaCIS.Core.Application.Contracts
public string FullFilePath => Path;
public string PreviewPath => "/Common/LocalFilePreview?relativePath=" + Path;
public string PreviewPath => Path;
}

View File

@ -180,11 +180,10 @@ namespace IRaCIS.Application.Services
[AllowAnonymous]
public async Task<object> GetEnvironmentName([FromServices] IWebHostEnvironment env)
{
var a = IdentifierHelper.CreateGuid("654321");
var a = IdentifierHelper.CreateGuid("1.2.840.113619.2.416.3358551739363725609857319676326094825431.2.840.113619.2.80.2338912612.50499.1563432834.1.4.11.2.840.113619.2.80.2338912612.50499.1563432835.4b8340000-3e2c-0016-fbdd-08db883b137f");
var k = MD5.Create().ComputeHash(Encoding.UTF8.GetBytes("123456"));
var c = MD5Helper.Md5("654321");
var c = MD5Helper.Md5("1.2.840.113619.2.416.3358551739363725609857319676326094825431.2.840.113619.2.80.2338912612.50499.1563432834.1.4.11.2.840.113619.2.80.2338912612.50499.1563432835.4b8340000-3e2c-0016-fbdd-08db883b137f");
//update DicomInstance set Path = '/IRaCISData/TrialData/' + cast(DicomInstance.TrialId as varchar) + '/' + DicomInstance.SiteId + '/' + DicomInstance.SubjectId + '/' + DicomInstance.SubjectVisitId + '/Dicom/' + DicomInstance.StudyId + '/' + DicomInstance.Id + '.dcm'