Bladeren bron

盯盘2.0功能,查询预算数据添加状态条件

zhaoxian 4 jaren geleden
bovenliggende
commit
2d8eca6d29

+ 1 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/EtlKuaishouReportAccountHourlyMapper.xml

@@ -271,6 +271,7 @@
         LEFT JOIN ctop_kuaishou_account_balance_budget t6 ON t6.account_id = t2.account_id
         where stat_date = #{startTime}
         AND t2.user_id = #{userId}
+        AND t6.state = 1
         GROUP BY t2.account_id
         <if test="sortCode != '' and sortCode != null ">
             ORDER BY ${sortCode}