Browse Source

V1.1.2 自动投放 修改查询sql bug

yumeng 4 years ago
parent
commit
47f94d59dc

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

@@ -64,10 +64,10 @@
             AND creative_count = #{creativeCount}
         </if>
         <if test="startTime != null and startTime != '' ">
-            AND stat_date &lt;= #{startTime}
+            AND stat_date &gt;= #{startTime}
         </if>
         <if test="endTime != null and endTime != '' ">
-            AND stat_date &gt;= #{endTime}
+            AND stat_date &lt;= #{endTime}
         </if>
         ORDER BY stat_date ASC
         LIMIT #{videoCnt}