select * from report_total_user t where to_char(STATISTICS_DATE,'yyyy-MM-dd')='${STATISTICS_DATE}' order by t.PROVINCE_CODE,
case when t.user_type='扶贫' then 0
when t.user_type='零售' then 1
when t.user_type='整省' then 2
else 3 end,t.user_type