Browse Source

自动投放修改2.1

zhaoxian 3 năm trước cách đây
mục cha
commit
b64cf0409a

+ 4 - 4
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/ai/mapper/xml/AiKuaishouAccountAutoVideoMapper.xml

@@ -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 &gt;= 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 &gt;= 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 != '' ">