修改
This commit is contained in:
@@ -181,7 +181,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
|
||||
|
||||
if (await _trialQcQuestionRepository.AnyAsync(x => x.Id != addOrEditTrialQCQuestionConfigure.Id && x.ShowOrder == addOrEditTrialQCQuestionConfigure.ShowOrder))
|
||||
if (await _trialQcQuestionRepository.AnyAsync(x =>x.TrialId== addOrEditTrialQCQuestionConfigure.TrialId&& x.Id != addOrEditTrialQCQuestionConfigure.Id && x.ShowOrder == addOrEditTrialQCQuestionConfigure.ShowOrder))
|
||||
{
|
||||
throw new BusinessValidationFailedException("序号重复,操作失败");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user