select DATE_FORMAT(statistics_time, '%Y-%m-%d') as time ,ifnull(sum(fans_number),0) as fansNum from md_marketing_wechat_microblog_info where type = #{type}
select DATE_FORMAT(statistics_time, '%Y-%m-%d') as time ,ifnull(sum(fans_number),0) as fansNum from md_marketing_wechat_microblog_info where type = #{type} and del_flag != 2
group by statistics_time order by statistics_time desc limit 7