代码修改

Uat_Study
he 2023-04-07 16:33:05 +08:00
parent 548d9cd820
commit 6886c24204
1 changed files with 7 additions and 0 deletions

View File

@ -414,6 +414,13 @@ namespace IRaCIS.Application.Services
}
else
{
var trialCriterionType = await _readingQuestionCriterionTrial.Where(x => x.Id == inDto.TrialReadingCriterionId).Select(x => x.CriterionType).FirstOrDefaultAsync();
if (trialCriterionType == CriterionType.SelfDefine)
{
return result;
}
List<string> selectCode = await _trialCriterionDictionaryCodeRepository.Where(x => x.TrialCriterionId == inDto.TrialReadingCriterionId).Select(x => x.Code).ToListAsync();