增加了题库不允许重复的业务逻辑10
This commit is contained in:
parent
840fd493c0
commit
4a9760019f
@ -382,7 +382,7 @@ func (r *QuestionQaService) PutQuestionQa(qaId int64, req requests.PutQuestionQa
|
|||||||
|
|
||||||
repeatQaIdStr := strings.Join(repeatQaId, ",")
|
repeatQaIdStr := strings.Join(repeatQaId, ",")
|
||||||
if repeatQaIdStr != questionQa.RepeatQaId {
|
if repeatQaIdStr != questionQa.RepeatQaId {
|
||||||
questionQaData["repeat_qa_id"] = req.RepeatQaId
|
questionQaData["repeat_qa_id"] = repeatQaIdStr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user