|
|
@@ -442,7 +442,7 @@
|
|
|
SELECT t1.*
|
|
|
FROM vod_video_post AS t1
|
|
|
JOIN (SELECT ROUND(RAND()*(SELECT MAX(id) FROM vod_video_post)) AS id) AS t2
|
|
|
- WHERE t1.id>=t2.id and t1.duration<=120 and t1.`status`=2 and t1.scope in
|
|
|
+ WHERE t1.id>=t2.id and t1.duration<=120 and t1.`status`=2 and t1.`horizontal`=0 and t1.scope in
|
|
|
<foreach collection="list" item="id" index="index" open="(" close=")" separator=",">
|
|
|
#{id}
|
|
|
</foreach>
|