|
@@ -40,7 +40,7 @@
|
|
|
<if test="createType == 'program'">
|
|
|
AND program_status = 1
|
|
|
</if>
|
|
|
- <if test="channelType!=null">
|
|
|
+ <if test="channelType!=null and channelType!=2">
|
|
|
AND channel_type = #{channelType}
|
|
|
</if>
|
|
|
<if test="statDate!=null">
|
|
@@ -56,7 +56,7 @@
|
|
|
SELECT * FROM ctop_ai_kuaishou_account_auto_video
|
|
|
WHERE custom_status = 1
|
|
|
AND account_id = #{accountId}
|
|
|
- <if test="channelType!=null">
|
|
|
+ <if test="channelType!=null and channelType!=2">
|
|
|
AND channel_type = #{channelType}
|
|
|
</if>
|
|
|
<if test="statDate!=null">
|
|
@@ -91,7 +91,7 @@
|
|
|
AND stat_date >= DATE_SUB(#{statDate},INTERVAL 7 day)
|
|
|
group by signature
|
|
|
)
|
|
|
- <if test="channelType!=null">
|
|
|
+ <if test="channelType!=null and channelType!=2">
|
|
|
and channel_type = #{channelType}
|
|
|
</if>
|
|
|
<if test="keyword != null and keyword != '' ">
|
|
@@ -122,7 +122,7 @@
|
|
|
AND stat_date >= DATE_SUB(#{statDate},INTERVAL 60 day)
|
|
|
group by signature
|
|
|
)
|
|
|
- <if test="channelType!=null">
|
|
|
+ <if test="channelType!=null and channelType!=2">
|
|
|
and channel_type = #{channelType}
|
|
|
</if>
|
|
|
<if test="keyword != null and keyword != '' ">
|