1
This commit is contained in:
parent
066b3fd7a2
commit
5d6c4a0b77
@ -859,7 +859,7 @@ func (r *QuestionQaService) GetShareQuestionQaForTypeOne(questionQa *model.Quest
|
||||
maps := make(map[string]interface{})
|
||||
maps["qa_id"] = questionQa.QaId
|
||||
maps["is_must_select"] = 1
|
||||
questionQaItems, err := questionQaItemDao.GetQuestionQaItemPreloadList(maps)
|
||||
questionQaItems, err := questionQaItemDao.GetQuestionQaItemWhereList(maps)
|
||||
if err == nil && len(questionQaItems) > 0 {
|
||||
for _, item := range questionQaItems {
|
||||
questions = append(questions, item.Question)
|
||||
@ -1050,7 +1050,7 @@ func (r *QuestionQaService) GetShareQuestionQaForTypeThree(questionQa *model.Que
|
||||
maps := make(map[string]interface{})
|
||||
maps["qa_id"] = questionQa.QaId
|
||||
maps["is_must_select"] = 1
|
||||
mustQuestions, err := questionQaItemDao.GetQuestionQaItemPreloadList(maps)
|
||||
mustQuestions, err := questionQaItemDao.GetQuestionQaItemWhereList(maps)
|
||||
|
||||
// 题目数据-未比被选中
|
||||
maps = make(map[string]interface{})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user