From 470420410e87d4f8e5e4f07c31841cf9dead228c Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 24 Mar 2025 16:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/IRaCIS.Core.API.csproj | 3 +++ IRaCIS.Core.Application/IRaCIS.Core.Application.xml | 5 ----- .../ReadingCalculate/RECIST1Point1CalculateService.cs | 8 ++++++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/IRaCIS.Core.API/IRaCIS.Core.API.csproj b/IRaCIS.Core.API/IRaCIS.Core.API.csproj index b85f69250..3962560b1 100644 --- a/IRaCIS.Core.API/IRaCIS.Core.API.csproj +++ b/IRaCIS.Core.API/IRaCIS.Core.API.csproj @@ -124,6 +124,9 @@ Always + + Always + diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 17ec78301..41e9918a6 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -6918,11 +6918,6 @@ 靶病灶信息 - - - 非靶病灶信息 - - 访视名称 diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/RECIST1Point1CalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/RECIST1Point1CalculateService.cs index db4861c89..92d304cd2 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/RECIST1Point1CalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/RECIST1Point1CalculateService.cs @@ -204,16 +204,20 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate SubjectCode = subjectCode, VisitList= exportVisitDatas.Skip(i*3).Take(3).ToList(), }; + resultdata.Add(export); } - + var value = new + { + VisitList = resultdata + }; var templatePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"wwwroot/ReadReoprtTemplate/TumorEvaluation_RECIST1.1_CN_V1.docx"); var outputFilePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, $@"wwwroot/ReadReoprtTemplate/downLoad/{inDto.DownLoadGuid}.docx"); - MiniWord.SaveAsByTemplate(outputFilePath, templatePath, resultdata); + MiniWord.SaveAsByTemplate(outputFilePath, templatePath, value); //// 获取文件夹中的所有文件路径