Sfoglia il codice sorgente

项目自动化调试,优化sql

zhaoxian 4 anni fa
parent
commit
4701d6c85f

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/mapper/xml/KuaishouProjectStrategyMapper.xml

@@ -42,7 +42,7 @@
                     </if>
             ) t1
                 LEFT JOIN ctop_etl_kuaishou_report_account_daily t2 ON t2.account_id = t1.accountId
-        where t2.stat_date &gt;=#{startTime}
+        and t2.stat_date &gt;=#{startTime}
         and t2.stat_date &lt;=#{endTime}
         GROUP BY t1.id
         <if test="sortCode != '' and sortCode != null ">