修改tu表bug
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-11-07 14:54:25 +08:00
parent b0d8a49929
commit d48f736392
1 changed files with 5 additions and 0 deletions

View File

@ -558,6 +558,11 @@ public class Tumor_CDISC_ExportService(IRepository<ReadingQuestionCriterionTrial
{ {
var tr = CreatNewTRExport(task, tr_subjectIndexNoDic); var tr = CreatNewTRExport(task, tr_subjectIndexNoDic);
//填充固定信息
Fill_TR_IndexValue(tr, trValueTypeIndex, trValueList);
if (questionAnswer.TranslateDicName.IsNotNullOrEmpty()) if (questionAnswer.TranslateDicName.IsNotNullOrEmpty())
{ {
tr.OriginalMeasurements = translateDataList[questionAnswer.TranslateDicName].Where(t => t.Code.ToLower() == questionAnswer.QuestionValue?.ToLower()).Select(t => isEn_Us ? t.Value : t.ValueCN).FirstOrDefault() ?? String.Empty; tr.OriginalMeasurements = translateDataList[questionAnswer.TranslateDicName].Where(t => t.Code.ToLower() == questionAnswer.QuestionValue?.ToLower()).Select(t => isEn_Us ? t.Value : t.ValueCN).FirstOrDefault() ?? String.Empty;