|
@@ -85,7 +85,7 @@ func GetCommunityQuestionCommentList(condition string, pars []interface{}, start
|
|
|
func GetCommunityQuestionCommentListByIds(CommunityQuestionCommentIds string) (list []*YbCommunityQuestionComment, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
// 列表数据
|
|
|
- sql := `SELECT q.* FROM yb_community_question_comment q WHERE q.enabled = 0 AND community_question_comment_id in (` + CommunityQuestionCommentIds + `)`
|
|
|
+ sql := `SELECT q.* FROM yb_community_question_comment q WHERE q.enabled = 1 AND community_question_comment_id in (` + CommunityQuestionCommentIds + `)`
|
|
|
_, err = o.Raw(sql).QueryRows(&list)
|
|
|
return
|
|
|
}
|