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