Browse Source

销售盯盘V1-2功能版本更新 运营数据 添加日期

zhaoxian 2 years ago
parent
commit
5e9e4d7cab

+ 1 - 1
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/ManagerSaleValueMapper.xml

@@ -138,7 +138,7 @@
         SELECT sum(charge) as 'charge'
         SELECT sum(charge) as 'charge'
         FROM application.kuaishou_account_report_hourly_dw
         FROM application.kuaishou_account_report_hourly_dw
         where stat_date >= DATE_FORMAT(DATE_ADD(#{statDay},INTERVAL -#{days} day), '%Y%m%d')
         where stat_date >= DATE_FORMAT(DATE_ADD(#{statDay},INTERVAL -#{days} day), '%Y%m%d')
-        where stat_date <= DATE_FORMAT(DATE_ADD(#{endTime},INTERVAL -#{days} day), '%Y%m%d')
+        AND stat_date <= DATE_FORMAT(DATE_ADD(#{endTime},INTERVAL -#{days} day), '%Y%m%d')
         and company_id = #{companyId}
         and company_id = #{companyId}
         <if test="accountIds !=null and accountIds.size()>0">
         <if test="accountIds !=null and accountIds.size()>0">
             AND account_id in
             AND account_id in