ivus-导表修改

Test_IRC_Net8
hang 2025-11-27 10:56:05 +08:00
parent 9158f28998
commit f19fc0e92f
7 changed files with 1077 additions and 1 deletions

View File

@ -60,4 +60,16 @@ namespace IRaCIS.Core.Application.Helper
} }
} }
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public class DateTimeTranaslateAttribute : Attribute
{
public string Formart { get; set; }
public DateTimeTranaslateAttribute(string formart)
{
Formart = formart;
}
}
} }

View File

@ -2765,6 +2765,11 @@ namespace IRaCIS.Core.Application.Service.Common
if (criterion.CriterionType == CriterionType.OCT) if (criterion.CriterionType == CriterionType.OCT)
{ {
list.Add(new ExportDocumentDes() { Code = StaticData.Export.OCT_ReadingLession_Export, ExportCatogory = ExportResult.OCT_ReadingLession_Export }); list.Add(new ExportDocumentDes() { Code = StaticData.Export.OCT_ReadingLession_Export, ExportCatogory = ExportResult.OCT_ReadingLession_Export });
list.Add(new ExportDocumentDes() { Code = StaticData.Export.OCT_CDISC_Export, ExportCatogory = ExportResult.OCT_CDISC_Export });
}
if (criterion.CriterionType == CriterionType.IVUS)
{
list.Add(new ExportDocumentDes() { Code = StaticData.Export.IVUS_CDISC_Export, ExportCatogory = ExportResult.IVUS_CDISC_Export });
} }
if (criterion.CriterionGroup != CriterionGroup.Tumor) if (criterion.CriterionGroup != CriterionGroup.Tumor)

File diff suppressed because it is too large Load Diff

View File

@ -120,6 +120,10 @@ namespace IRaCIS.Core.Application.Service
CreateMap<TumorExportBaseModel, TR_Export>(); CreateMap<TumorExportBaseModel, TR_Export>();
CreateMap<TumorExportBaseModel, RS_Export>(); CreateMap<TumorExportBaseModel, RS_Export>();
CreateMap<TumorExportBaseModel, CO_Export>(); CreateMap<TumorExportBaseModel, CO_Export>();
CreateMap<IVUS_OCTBaseDto, IvusExportDto>();
CreateMap<IVUS_OCTBaseDto, OctExportDto>();
} }
} }

View File

@ -544,6 +544,10 @@ namespace IRaCIS.Core.Domain.Share
TumorCDISC_Export=20, TumorCDISC_Export=20,
IVUS_CDISC_Export = 21,
OCT_CDISC_Export = 22,
} }
@ -2383,10 +2387,33 @@ public enum SUVChangeVSBaseline
MaxAvgLipidAngle = 1020, MaxAvgLipidAngle = 1020,
/// <summary> /// <summary>
/// 待定指标 /// 斑块类型
/// </summary> /// </summary>
Undetermined = 1021, Undetermined = 1021,
/// <summary>
/// 巨噬细胞浸润
/// </summary>
MacrophageInfiltration = 1022,
/// <summary>
/// 巨噬细胞延伸角度
/// </summary>
MacrophageExtensionAngle = 1023,
/// <summary>
/// 微通道
/// </summary>
Microchannels = 1024,
/// <summary>
/// 胆固醇结晶
/// </summary>
CholesterolCrystallization = 1025,
/// <summary> /// <summary>
/// 第一次测量 /// 第一次测量
/// </summary> /// </summary>

View File

@ -1,6 +1,7 @@
using IRaCIS.Core.API._ServiceExtensions.NewtonsoftJson; using IRaCIS.Core.API._ServiceExtensions.NewtonsoftJson;
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
@ -75,6 +76,12 @@ namespace IRaCIS.Core.Infrastructure.Extention
foreach (PropertyInfo property in properties) foreach (PropertyInfo property in properties)
{ {
if (typeof(IEnumerable).IsAssignableFrom(property.PropertyType)
&& property.PropertyType != typeof(string))
{
continue;
}
string propertyName = property.Name; string propertyName = property.Name;
object propertyValue = property.GetValue(obj); object propertyValue = property.GetValue(obj);
// 如果属性的类型是枚举,将其值保留为整数 // 如果属性的类型是枚举,将其值保留为整数

View File

@ -312,6 +312,10 @@ public static class StaticData
public const string TumorCDISC_Export = "TumorCDISC_Export"; public const string TumorCDISC_Export = "TumorCDISC_Export";
public const string IVUS_CDISC_Export = "IVUS_CDISC_Export";
public const string OCT_CDISC_Export = "OCT_CDISC_Export";
} }