修改code

This commit is contained in:
2022-04-12 10:51:58 +08:00
parent 977d83924d
commit d41c7cb16f
6 changed files with 22 additions and 14 deletions
@@ -34,13 +34,13 @@ namespace IRaCIS.Core.Application.Contracts
public DateTime UploadTime { get; set; }
public string StudyCode => IsDicom ? DicomStudyCode : "NST" + NoneDicomCode.ToString("D5");
public string StudyCode { get; set; }
[JsonIgnore]
public string DicomStudyCode { get; set; } = string.Empty;
[JsonIgnore]
public int NoneDicomCode { get; set; }
//[JsonIgnore]
//public string DicomStudyCode { get; set; } = string.Empty;
//[JsonIgnore]
//public int NoneDicomCode { get; set; }
public bool IsDicom { get; set; }
}
@@ -51,8 +51,10 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
Count = t.SeriesCount,
DicomStudyCode = t.StudyCode,
NoneDicomCode = 0,
StudyCode = t.StudyCode,
//DicomStudyCode = t.StudyCode,
//NoneDicomCode = 0,
StudyTime = t.StudyTime,
@@ -97,8 +99,10 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
Count = t.NoneDicomFileList.Count(),
NoneDicomCode = t.Code,
DicomStudyCode = string.Empty,
StudyCode = t.StudyCode,
//NoneDicomCode = t.Code,
//DicomStudyCode = string.Empty,
StudyTime = t.ImageDate,