1
This commit is contained in:
parent
c1b0c8a73d
commit
4f71f1cf1f
@ -102,7 +102,7 @@ func (r *QuestionQaItemService) PutQuestionQaItemMust(itemId int64, req requests
|
||||
return false, errors.New("内部错误")
|
||||
}
|
||||
|
||||
if len(questionQaItems) > questionQa.QaQuantity {
|
||||
if len(questionQaItems) >= questionQa.QaQuantity {
|
||||
return false, errors.New("必选题目已超出题库所需数量")
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user