交易商户数量变化bug修复

master
yangkai 6 years ago
parent 1ac4662220
commit 63856ad85b

@ -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>

Loading…
Cancel
Save