From fcd0dd9b084b62a02883e4a07a272ab994852b76 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 5 Jan 2026 16:03:06 +0800 Subject: [PATCH] =?UTF-8?q?pcwg3=20NA=E5=AD=97=E5=85=B8=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E6=A0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TrialSiteUser/TrialStatService.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialStatService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialStatService.cs index 6fd424a87..fe6cdc35d 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialStatService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialStatService.cs @@ -162,7 +162,7 @@ public class TrialStatService( { Id = t.Id, SubjectId = t.SubjectId, - TrialSiteCode=t.Subject.TrialSite.TrialSiteCode, + TrialSiteCode = t.Subject.TrialSite.TrialSiteCode, SubjectCode = t.Subject.Code, VisitTaskNum = t.VisitTaskNum, TaskName = t.TaskName, @@ -237,7 +237,7 @@ public class TrialStatService( DictionaryCode = g.FirstOrDefault()?.DictionaryCode, OverallTumorEvaluation = g.Key, Code = g.Key, - SubjectCodeList = g.Select(t => new EfficacyEvaluationSubjectInfo { SubjectCode= t.SubjectCode, TrialSiteCode=t.TrialSiteCode }).Distinct().ToList() + SubjectCodeList = g.Select(t => new EfficacyEvaluationSubjectInfo { SubjectCode = t.SubjectCode, TrialSiteCode = t.TrialSiteCode }).Distinct().ToList() }).ToList(); @@ -255,7 +255,8 @@ public class TrialStatService( t.Dictionary.Value, }) .ToList() - .Where(t => t.Code != "-1") + .WhereIf(criterion.CriterionType != CriterionType.PCWG3, t => t.Code != "-1") + .WhereIf(criterion.CriterionType == CriterionType.PCWG3, t => t.Code != "5") .Select(t => new EfficacyEvaluationStatViewModel { DictionaryCode = dicName, @@ -334,7 +335,7 @@ public class TrialStatService( .ToList(); - return ResponseOutput.Ok(translateList, new { PDList = firstPdList, ORR = orrPercent,SiteORRList= centerOrrList }); + return ResponseOutput.Ok(translateList, new { PDList = firstPdList, ORR = orrPercent, SiteORRList = centerOrrList }); }