|
|
|
@ -435,7 +435,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="countTradedClientsByDate" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
|
SELECT date_format(s.date,'%d-%m-%Y') datelist,COUNT(DISTINCT s.client_id) num
|
|
|
|
|
SELECT date_format(s.date,'%Y-%m-%d') datelist,COUNT(DISTINCT s.client_id) num
|
|
|
|
|
FROM statistics_customer_order s
|
|
|
|
|
LEFT JOIN sys_clients c ON c.client_id = s.client_id and c.is_valid=1
|
|
|
|
|
<where>
|
|
|
|
|