修改订单提成过滤未审核数据
This commit is contained in:
parent
3449d12385
commit
0e3b59b12f
@ -32,6 +32,7 @@
|
||||
SELECT ${column} AS user_id, SUM(amount) AS amount
|
||||
FROM sys_order
|
||||
WHERE ${column} IS NOT NULL
|
||||
AND review_status = 'yes'
|
||||
<if test="beginTime != null and beginTime != ''"> AND date_format(order_time,'%y%m%d') >= date_format(${beginTime},'%y%m%d')</if>
|
||||
<if test="endTime != null and endTime != ''">AND date_format(order_time,'%y%m%d') <= date_format(${endTime},'%y%m%d')</if>
|
||||
GROUP BY ${column}
|
||||
|
Loading…
x
Reference in New Issue
Block a user