Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
he 2025-01-13 14:56:16 +08:00
commit d04b425d62
3 changed files with 19 additions and 40 deletions

View File

@ -95,7 +95,7 @@ namespace IRaCIS.Core.Application.Service.Common
RemoveTime = t.TrialUser.RemoveTime, RemoveTime = t.TrialUser.RemoveTime,
//角色授权禁用时间 //角色授权禁用时间
RoleIsDeleted=t.IsDeleted, RoleIsDeleted = t.IsDeleted,
CreateTime = t.CreateTime, CreateTime = t.CreateTime,
DeletedTime = t.DeletedTime, DeletedTime = t.DeletedTime,
}).OrderBy(t => t.UserRealName) }).OrderBy(t => t.UserRealName)
@ -2112,8 +2112,6 @@ namespace IRaCIS.Core.Application.Service.Common
} }
if (criterion.CriterionType == CriterionType.RECIST1Point1 || criterion.CriterionType == CriterionType.RECIST1Pointt1_MB if (criterion.CriterionType == CriterionType.RECIST1Point1 || criterion.CriterionType == CriterionType.RECIST1Pointt1_MB
|| criterion.CriterionType == CriterionType.IRECIST1Point1 || criterion.CriterionType == CriterionType.Lugano2014 || criterion.CriterionType == CriterionType.IRECIST1Point1 || criterion.CriterionType == CriterionType.Lugano2014
|| criterion.CriterionType == CriterionType.Lugano2014WithoutPET || criterion.CriterionType == CriterionType.PCWG3) || criterion.CriterionType == CriterionType.Lugano2014WithoutPET || criterion.CriterionType == CriterionType.PCWG3)
@ -2150,29 +2148,6 @@ namespace IRaCIS.Core.Application.Service.Common
} }
//if (criterion.CriterionType == CriterionType.RECIST1Point1 || criterion.CriterionType == CriterionType.RECIST1Pointt1_MB)
//{
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.OverallTumorEvaluation_Export, ExportCatogory = ExportCatogory.OverallTumorEvaluation });
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.RECIST1Point1EvaluationOfTumorEfficacy_Export, ExportCatogory = ExportCatogory.EvaluationOfTumorEfficacy });
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.RECIST1Point1DetailedOfEvaluatedLesion_Export, ExportCatogory = ExportCatogory.DetailedOfEvaluatedLesion });
//}
//else if (criterion.CriterionType == CriterionType.PCWG3)
//{
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.OverallTumorEvaluation_Export, ExportCatogory = ExportCatogory.OverallTumorEvaluation });
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.PCWG3Point1DetailedOfEvaluatedLesion_Export, ExportCatogory = ExportCatogory.DetailedOfEvaluatedLesion });
//}
//else if (criterion.CriterionType == CriterionType.IRECIST1Point1)
//{
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.OverallTumorEvaluation_Export, ExportCatogory = ExportCatogory.OverallTumorEvaluation });
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.IRECIST1Point1EvaluationOfTumorEfficacy_Export, ExportCatogory = ExportCatogory.DetailedOfEvaluatedLesion });
//}
//else if (criterion.CriterionType == CriterionType.Lugano2014)
//{
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.OverallTumorEvaluation_Export, ExportCatogory = ExportCatogory.OverallTumorEvaluation });
// list.Add(new ExportDocumentDes() { Code = StaticData.Export.Lugano2014EvaluationOfTumorEfficacy_Export, ExportCatogory = ExportCatogory.DetailedOfEvaluatedLesion });
//}
var result = _commonDocumentRepository.Where(t => list.Select(c => c.Code).Contains(t.Code)).Select(c => new ExportDocumentDes() { Code = c.Code, FileName = _userInfo.IsEn_Us ? c.Name : c.NameCN }).ToList(); var result = _commonDocumentRepository.Where(t => list.Select(c => c.Code).Contains(t.Code)).Select(c => new ExportDocumentDes() { Code = c.Code, FileName = _userInfo.IsEn_Us ? c.Name : c.NameCN }).ToList();
foreach (var item in list) foreach (var item in list)
@ -2279,10 +2254,13 @@ namespace IRaCIS.Core.Application.Service.Common
} }
// 肿瘤标准 按照任务级别
if (inQuery.ReadingExportType == ExportResult.TableOfAssessmentResults || if ((inQuery.ReadingExportType == ExportResult.TableOfAssessmentResults ||
inQuery.ReadingExportType == ExportResult.DetailedTableOfAssessmentResults || inQuery.ReadingExportType == ExportResult.DetailedTableOfAssessmentResults ||
inQuery.ReadingExportType == ExportResult.DetailedTableOfAdjudicationResults inQuery.ReadingExportType == ExportResult.DetailedTableOfAdjudicationResults) &&
(criterion.CriterionType == CriterionType.RECIST1Point1 || criterion.CriterionType == CriterionType.IRECIST1Point1
|| criterion.CriterionType == CriterionType.RECIST1Pointt1_MB || criterion.CriterionType == CriterionType.PCWG3 ||
criterion.CriterionType == CriterionType.Lugano2014 || criterion.CriterionType == CriterionType.Lugano2014WithoutPET)
) )
{ {
@ -2296,10 +2274,16 @@ namespace IRaCIS.Core.Application.Service.Common
trialReadingCriterionId = inQuery.TrialReadingCriterionId, trialReadingCriterionId = inQuery.TrialReadingCriterionId,
isEn_Us = _userInfo.IsEn_Us isEn_Us = _userInfo.IsEn_Us
}).ToListAsync(); }).ToListAsync();
} }
//病灶明细表 斑块表 需要单独处理 //肿瘤标准 病灶明细表 按照病灶级别 (OCT 暂时不删除,先看是否能覆盖)
else if (inQuery.ReadingExportType == ExportResult.DetailedTableOfLesions || else if (
inQuery.ReadingExportType == ExportResult.OCT_ReadingLession_Export) (inQuery.ReadingExportType == ExportResult.DetailedTableOfLesions &&
(criterion.CriterionType == CriterionType.RECIST1Point1 || criterion.CriterionType == CriterionType.IRECIST1Point1
|| criterion.CriterionType == CriterionType.RECIST1Pointt1_MB || criterion.CriterionType == CriterionType.PCWG3 ||
criterion.CriterionType == CriterionType.Lugano2014 || criterion.CriterionType == CriterionType.Lugano2014WithoutPET)
) || inQuery.ReadingExportType == ExportResult.OCT_ReadingLession_Export
)
{ {
var taskList = await query.ProjectTo<CommonLessionExport>(_mapper.ConfigurationProvider, var taskList = await query.ProjectTo<CommonLessionExport>(_mapper.ConfigurationProvider,
@ -2398,7 +2382,8 @@ namespace IRaCIS.Core.Application.Service.Common
} }
} }
else if (inQuery.ReadingExportType == ExportResult.CDISC) // CDISC 导出 和自定义导出 都会配置到表格问题层级,随意配置,所见即所得
else /*if (inQuery.ReadingExportType == ExportResult.CDISC)*/
{ {
// 配置在外层问题 或者表格问题上 // 配置在外层问题 或者表格问题上
var taskList = await query.ProjectTo<CommonLessionExport>(_mapper.ConfigurationProvider, var taskList = await query.ProjectTo<CommonLessionExport>(_mapper.ConfigurationProvider,

View File

@ -1250,11 +1250,6 @@ namespace IRaCIS.Core.Application.Contracts
public class CommonLessionExport : CommonEvaluationExport public class CommonLessionExport : CommonEvaluationExport
{ {
///// <summary>
///// 最终导出的病灶信息
///// </summary>
//public List<CommonLessionQuestionAnswerInfo> LessionAnswerList { get; set; }
[JsonIgnore] [JsonIgnore]
public List<CommonLessionInfo> LesionList { get; set; } = new List<CommonLessionInfo>(); public List<CommonLessionInfo> LesionList { get; set; } = new List<CommonLessionInfo>();

View File

@ -420,7 +420,6 @@ namespace IRaCIS.Core.Domain.Share
/// </summary> /// </summary>
None = 0, None = 0,
/// <summary>
/// <summary> /// <summary>
/// 阅片结果表 /// 阅片结果表
/// </summary> /// </summary>