fix[litemall-db]: 修复商品统计中mapper文件。

This commit is contained in:
Junling Bu
2018-07-10 19:43:13 +08:00
parent 3abfeea8de
commit 4cee1e8525

View File

@@ -24,7 +24,7 @@
substr(add_time,1, 10) as day,
count(distinct order_id) as orders,
sum(number) as products,
sum(number*retail_price) as amount
sum(number*price) as amount
from litemall_order_goods
group by substr(add_time,1, 10)
</select>