|
@@ -162,7 +162,7 @@ func GetActivityVideoActivityIds() (activityIds string, err error) {
|
|
sql := `SELECT
|
|
sql := `SELECT
|
|
GROUP_CONCAT( DISTINCT a.activity_id SEPARATOR ',' ) AS activityids
|
|
GROUP_CONCAT( DISTINCT a.activity_id SEPARATOR ',' ) AS activityids
|
|
FROM
|
|
FROM
|
|
- cygx_activity_video AS a AND is_hide = 0 `
|
|
|
|
|
|
+ cygx_activity_video AS a WHERE is_hide = 0 `
|
|
o := orm.NewOrm()
|
|
o := orm.NewOrm()
|
|
err = o.Raw(sql).QueryRow(&activityIds)
|
|
err = o.Raw(sql).QueryRow(&activityIds)
|
|
return
|
|
return
|