去除题目数量*3的问题
This commit is contained in:
parent
3667cd412f
commit
27bcd29967
@ -150,7 +150,7 @@ func (r *QuestionQaService) AddQuestionQa(req requests.AddQuestionQa) (bool, err
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 获取随机明细题目
|
// 获取随机明细题目
|
||||||
questions, err := questionDao.GetQuestionListRand(maps, item.Quantity*3)
|
questions, err := questionDao.GetQuestionListRand(maps, item.Quantity)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
tx.Rollback()
|
tx.Rollback()
|
||||||
return false, err
|
return false, err
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user