|
@@ -338,7 +338,7 @@
|
|
sum(anchor_amount) as 'anchorAmount',
|
|
sum(anchor_amount) as 'anchorAmount',
|
|
sum(reference_amount) as 'referenceAmount'
|
|
sum(reference_amount) as 'referenceAmount'
|
|
from kuaishou_rule_settlement_data
|
|
from kuaishou_rule_settlement_data
|
|
- where stat_date = #{statDate}
|
|
|
|
|
|
+ where stat_date = #{date}
|
|
and settlement_status != 3
|
|
and settlement_status != 3
|
|
<if test="promoterId != null and promoterId != '' ">
|
|
<if test="promoterId != null and promoterId != '' ">
|
|
and promoter_id = #{promoterId}
|
|
and promoter_id = #{promoterId}
|