修改一版

This commit is contained in:
he
2022-08-05 09:44:23 +08:00
parent d5834a84d8
commit 0500dca22a
2 changed files with 11 additions and 1 deletions
@@ -142,7 +142,8 @@ namespace IRaCIS.Core.Application.Contracts
var maxShowOrder = await _trialQcQuestionRepository.Where(x => x.TrialId == trialId).OrderByDescending(x=>x.ShowOrder).Select(x => x.ShowOrder).FirstOrDefaultAsync();
batchList.ForEach(x =>
{
x.ShowOrder= maxShowOrder++;
maxShowOrder++;
x.ShowOrder= maxShowOrder;
x.SystemQuestionId = x.Id.Value;
x.Id = NewId.NextGuid();