获取裁判的计算关系
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
13a942c6c5
commit
73c86666b4
|
|
@ -1729,6 +1729,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public bool IsGetAll { get; set; } = false;
|
||||
|
||||
public bool IsGetJudge { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -780,6 +780,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
if (inDto.TrialReadingCriterionId != null)
|
||||
{
|
||||
return await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId)
|
||||
.WhereIf(inDto.IsGetJudge,x=>x.IsJudgeQuestion)
|
||||
.WhereIf(!inDto.IsGetAll, x => x.DataSource == DataSources.Automatic && x.Type == "number")
|
||||
.Select(x => new CalculateRelationDto()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue