修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5e889b1529
commit
78c707a018
|
@ -578,7 +578,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
"select","radio","class",
|
||||
};
|
||||
var questionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.ReadingQuestionCriterionTrialId)
|
||||
.Where(x => types.Contains(x.Type))
|
||||
.Where(x => types.Contains(x.Type)||(x.Type=="number"&&x.TypeValue!=string.Empty))
|
||||
|
||||
.WhereIf(inDto.Id != null, x => x.Id != inDto.Id && x.ParentId != inDto.Id)
|
||||
.Where(x => x.ReadingCriterionPageId == inDto.ReadingCriterionPageId)
|
||||
|
||||
|
@ -672,10 +673,10 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
var types = new List<string>()
|
||||
{
|
||||
"select","radio"
|
||||
"select","radio","class"
|
||||
};
|
||||
var questionList = await _readingTableQuestionTrialRepository.Where(x => x.ReadingQuestionId == inDto.ReadingQuestionId)
|
||||
.Where(x => types.Contains(x.Type))
|
||||
.Where(x => types.Contains(x.Type) || (x.Type == "number" && x.TypeValue != string.Empty))
|
||||
.WhereIf(inDto.Id != null, x => x.Id != inDto.Id && x.ParentId != inDto.Id)
|
||||
|
||||
.Select(x => new CriterionOtherQuestionOutDto()
|
||||
|
|
Loading…
Reference in New Issue