Compare commits

..

No commits in common. "7b52c0b7850c27327fec057cded52a5a416c0f7e" and "212268cfa5d8e2ca57971a39ac8398c05647a8dd" have entirely different histories.

1 changed files with 0 additions and 10 deletions

View File

@ -56,16 +56,6 @@ namespace IRaCIS.Core.Application.Service
[HttpPost] [HttpPost]
public async Task<bool> SetTrialQuestionExportResult(SetTrialQuestionExportResultInDto inDto) public async Task<bool> SetTrialQuestionExportResult(SetTrialQuestionExportResultInDto inDto)
{ {
var cDISCCodeList = inDto.QuestionList.Where(x => x.CDISCCode.IsNotNullOrEmpty()).Select(x => x.CDISCCode).ToList();
cDISCCodeList.AddRange(inDto.TableQuestionList.Where(x => x.CDISCCode.IsNotNullOrEmpty()).Select(x => x.CDISCCode).ToList());
if (cDISCCodeList.Distinct().Count() != cDISCCodeList.Count)
{
throw new BusinessValidationFailedException(_localizer["ReadingQuestion_CDISCCodeRepeat"]);
}
List<ExportResult> needAdd = new List<ExportResult>() List<ExportResult> needAdd = new List<ExportResult>()
{ {
ExportResult.DetailedTableOfAdjudicationResults, ExportResult.DetailedTableOfAdjudicationResults,