修改统计值
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-05 13:27:54 +08:00
parent 312c96ef8f
commit df8292b2a5
3 changed files with 17 additions and 4 deletions
@@ -114,6 +114,18 @@ namespace IRaCIS.Core.Application.ViewModel
return null;
}
}
public double? MonthsDiff
{
get
{
if (DaysDiff.HasValue)
{
return Math.Round(DaysDiff.Value / 30.0, 1, MidpointRounding.AwayFromZero);
}
return null;
}
}
}
public class EfficacyEvaluationStatViewModel
@@ -273,8 +273,9 @@ public class TrialStatService(
: "0.00%";
var pdInfo = translateList
.WhereIf(criterion.CriterionType == CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "ICPD")
.WhereIf(criterion.CriterionType == CriterionType.RECIST1Point1, t => t.OverallTumorEvaluation == "PD")
.WhereIf(criterion.CriterionType == CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "iCPD")
.WhereIf(criterion.CriterionType == CriterionType.Lugano2014, t => t.OverallTumorEvaluation == "PMD/PD")
.WhereIf(criterion.CriterionType != CriterionType.IRECIST1Point1 && criterion.CriterionType != CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "PD")
.FirstOrDefault();
var firstPdList = new List<FirstPdInfo>();