55555
This commit is contained in:
parent
dcb3d0b33f
commit
ba0a1731e4
@ -128,6 +128,9 @@ func (r *QuestionDao) GetQuestionPageSearch(req requests.GetQuestionPage, page,
|
|||||||
// 是否隐藏
|
// 是否隐藏
|
||||||
query = query.Where("is_hide = ?", 0)
|
query = query.Where("is_hide = ?", 0)
|
||||||
|
|
||||||
|
// 问题状态
|
||||||
|
query = query.Where("question_status = ?", 1)
|
||||||
|
|
||||||
// 主键id
|
// 主键id
|
||||||
if req.QuestionId != "" {
|
if req.QuestionId != "" {
|
||||||
query = query.Where("question_id = ?", req.QuestionId)
|
query = query.Where("question_id = ?", req.QuestionId)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user