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

Test_IRC_Net8
hang 2025-02-10 09:25:38 +08:00
commit 12ddeba2a3
4 changed files with 16 additions and 5 deletions

View File

@ -300,6 +300,17 @@ public static class ExcelExportHelper
{
public Guid Id { get; set; }
public string Name { get; set; }
public override bool Equals(object obj)
{
if (obj is not ColumItem other) return false;
return Id == other.Id && Name == other.Name;
}
public override int GetHashCode()
{
return HashCode.Combine(Id, Name);
}
}
public List<string> ColumnIdList => ColumnIdNameList == null ? new List<string>() : ColumnIdNameList.Select(t => t.Id.ToString()).ToList();

View File

@ -2400,7 +2400,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = (t.QuestionType == QuestionType.ExistDisease || t.QuestionType == QuestionType.Tumor) ? (_userInfo.IsEn_Us ? "Overall Response" : "整体肿瘤评估") : t.QuestionName
}).ToList();
}).Distinct().ToList();
@ -2413,7 +2413,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = (t.QuestionType == QuestionType.ExistDisease || t.QuestionType == QuestionType.ImgOncology) ? (_userInfo.IsEn_Us ? "Overall Response" : "整体肿瘤评估") : t.QuestionName
}).ToList();
}).Distinct().ToList();
}
else if (criterion.CriterionType == CriterionType.PCWG3)
@ -2422,7 +2422,7 @@ namespace IRaCIS.Core.Application.Service.Common
{
Id = Guid.Empty,
Name = t.QuestionName
}).ToList();
}).Distinct().ToList();
}

View File

@ -523,7 +523,7 @@ namespace IRaCIS.Core.Application.Service
var readModule = await _readModuleRepository.Where(x => x.SubjectVisitId == taskinfo.SourceSubjectVisitId && x.TrialReadingCriterionId == taskinfo.TrialReadingCriterionId).FirstOrDefaultAsync();
if (criterion.IsReadingPeriod && !criterion.IsGlobalReading && readModule != null)
if (criterion.IsReadingPeriod && readModule != null)
{
return true;
}

View File

@ -120,7 +120,7 @@ namespace IRaCIS.Core.Application.Services
var result = await siteStatQuery.ToPagedListAsync(inQuery);
return (result,new {
IsPACSConnect= trialinfo.IsPACSConnect,
IsPACSConnectAndIsTrialPACSConfirmed = trialinfo.IsPACSConnect&&trialinfo.IsTrialPACSConfirmed,
});
}