ivus-导表修改

Uat_IRC_Net8
hang 2025-11-27 10:56:05 +08:00
parent 11450a973a
commit 9bf639dac0
7 changed files with 1083 additions and 2 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

@ -2344,6 +2344,11 @@ namespace IRaCIS.Core.Application.Service.Common
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_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 });
}
//else if (criterion.CriterionType == CriterionType.SelfDefine)
{

File diff suppressed because it is too large Load Diff

View File

@ -103,6 +103,8 @@ namespace IRaCIS.Core.Application.Service
.ForMember(d => d.UserName, u => u.MapFrom(s => s.CreateUserRole.IdentityUser.UserName))
.ForMember(d => d.TrialSiteCode, u => u.MapFrom(s => s.Subject.TrialSite.TrialSiteCode));
CreateMap<IVUS_OCTBaseDto, IvusExportDto>();
CreateMap<IVUS_OCTBaseDto, OctExportDto>();
}
}

View File

@ -516,7 +516,7 @@ namespace IRaCIS.Core.Domain.Share
/// <summary>
/// CDISC导出
/// </summary>
CDISC = 8,
NoneTumorCDISC = 8,
//访视一致率
@ -525,6 +525,12 @@ namespace IRaCIS.Core.Domain.Share
//阅片期一致率
ReadingPeriodJudgeRatio_Export = 18,
TumorCDISC_Export=20,
IVUS_CDISC_Export = 21,
OCT_CDISC_Export = 22,
}
@ -2337,10 +2343,33 @@ public enum SUVChangeVSBaseline
MaxAvgLipidAngle = 1020,
/// <summary>
/// 待定指标
/// 斑块类型
/// </summary>
Undetermined = 1021,
/// <summary>
/// 巨噬细胞浸润
/// </summary>
MacrophageInfiltration = 1022,
/// <summary>
/// 巨噬细胞延伸角度
/// </summary>
MacrophageExtensionAngle = 1023,
/// <summary>
/// 微通道
/// </summary>
Microchannels = 1024,
/// <summary>
/// 胆固醇结晶
/// </summary>
CholesterolCrystallization = 1025,
/// <summary>
/// 第一次测量
/// </summary>

View File

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

View File

@ -306,6 +306,15 @@ public static class StaticData
public const string SystenMedicalQCQuestionsList_Export = "SystenMedicalQCQuestionsList_Export";
//一致性全量核查导出
public const string TrialConsistentFUllCheckList_Export = "TrialConsistentFUllCheckList_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";
}