Pārlūkot izejas kodu

V1.1.3 自动投放 修改sql

yumeng 4 gadi atpakaļ
vecāks
revīzija
c05029e40d

+ 0 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/controller/KuaiShouMaterialControer.java

@@ -291,7 +291,6 @@ public class KuaiShouMaterialControer {
             requestMap.put("startTime", startTime);
             requestMap.put("endTime", endTime);
             requestMap.put("accountId", accountId);
-            requestMap.put("creativeCount", 0);
             requestMap.put("videoCnt", videoCnt);
             if (!Check.isNull(appVersion)) {
                 requestMap.put("appVersion", appVersion);

+ 1 - 3
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/mapper/xml/KuaishouVideoRelateCreativesMapper.xml

@@ -61,9 +61,7 @@
         <if test="accountId != null and accountId != '' ">
             and account_id = #{accountId}
         </if>
-        <if test="creativeCount != null and creativeCount != '' ">
-            AND creative_count = #{creativeCount}
-        </if>
+        AND creative_count = 0
         <if test="startTime != null and startTime != '' ">
             AND stat_date &gt;= #{startTime}
         </if>