|
- condition += ` AND user_id IN (` + utils.GetOrmInReplace(lenArr) + `) AND status = 3 GROUP BY user_id ORDER BY publish_time DESC`
|
|
+ condition += ` AND a.publish_time = ( SELECT max( b.publish_time ) FROM cygx_yanxuan_special b WHERE a.user_id = b.user_id ) AND user_id IN (` + utils.GetOrmInReplace(lenArr) + `) AND a.status = 3 GROUP BY user_id ORDER BY publish_time DESC`
|
|
list, e := models.GetYanxuanSpecialListBycondition(condition, pars, 0, lenArr)
|
|
list, e := models.GetYanxuanSpecialListBycondition(condition, pars, 0, lenArr)
|