Commit 4b329101 authored by 王志伟's avatar 王志伟

统计用户消费金额及占比曲线

parent 6d090386
......@@ -476,7 +476,7 @@ object meigou_xiaofei_renshu {
|and final_id.device_id is null
|and md.partition_date = '20181223'
|and md.pay_time is not null
|and md.validate_time>'2018-01-01 00:00:00.0'
|and md.validate_time>'2017-01-01 00:00:00.0'
|group by md.user_id
|order by sum(md.gengmei_price)
""".stripMargin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment