|
|
@@ -101,7 +101,7 @@
|
|
|
<select id="getVideoCount" resultType="java.lang.Integer">
|
|
|
select count(1)
|
|
|
from content_platform_video_agg
|
|
|
- where dt = #{dt} and status = 1 and score > #{minScore}
|
|
|
+ where dt = #{dt} and status = 1 and score >= #{minScore}
|
|
|
<if test="param.title!= null and param.title!= ''">
|
|
|
and title like concat('%', #{param.title}, '%')
|
|
|
</if>
|
|
|
@@ -116,7 +116,7 @@
|
|
|
left join content_platform_video_datastat_agg datastat
|
|
|
on datastat.dt = #{datastatDt} and datastat.type = #{type} and datastat.channel = #{channel}
|
|
|
and datastat.strategy = #{strategy} and datastat.video_id = video.video_id
|
|
|
- where video.dt = #{dt} and video.status = 1 and video.score > #{minScore}
|
|
|
+ where video.dt = #{dt} and video.status = 1 and video.score >= #{minScore}
|
|
|
<if test="param.title!= null and param.title!= ''">
|
|
|
and video.title like concat('%', #{param.title}, '%')
|
|
|
</if>
|