修改传递参数
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
668af5ee0b
commit
5059d66aa1
|
|
@ -340,7 +340,9 @@ public class Tumor_CDISC_ExportService(IRepository<ReadingQuestionCriterionTrial
|
|||
[FromServices] IRepository<Trial> _trialRepository)
|
||||
{
|
||||
//每次查询必须是单标准的
|
||||
var criterion = await _readingQuestionCriterionTrialRepository.Where(t => t.CriterionType == inQuery.CriterionType)
|
||||
var criterion = await _readingQuestionCriterionTrialRepository
|
||||
.WhereIf(inQuery.TrialReadingCriterionId != null, t => t.Id == inQuery.TrialReadingCriterionId)
|
||||
.WhereIf(inQuery.CriterionType != null, t => t.CriterionType == inQuery.CriterionType)
|
||||
.Select(t => new { t.Id, t.CriterionType, t.CriterionGroup, t.IsGlobalReading, t.IsArbitrationReading, t.IsOncologyReading, t.CriterionName, t.ArbitrationRule }).FirstNotNullAsync();
|
||||
|
||||
var arbitrationRule = criterion.ArbitrationRule;
|
||||
|
|
|
|||
Loading…
Reference in New Issue