|
|
@ -407,8 +407,8 @@
|
|
|
|
from
|
|
|
|
from
|
|
|
|
statistics_customer_order ss
|
|
|
|
statistics_customer_order ss
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="begin!=null">and s.date >= #{begin}</if>
|
|
|
|
<if test="begin!=null">and ss.date >= #{begin}</if>
|
|
|
|
<if test="end!=null">and s.date < #{end}</if>
|
|
|
|
<if test="end!=null">and ss.date < #{end}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
) s ON c.client_id = s.client_id
|
|
|
|
) s ON c.client_id = s.client_id
|
|
|
|
|
|
|
|
|
|
|
|