1.获取今天的数据
date_format(publishtime, '%Y-%m-%d')= date_format(now(), '%Y-%m-%d')
2.获取今天和明天的数据
server.begintime < str_to_date(date_format(date_sub(now(), interval -2 day), '%Y-%m-%d'),'%Y-%m-%d') and server.begintime >= str_to_date(date_format(now(), '%Y-%m-%d'),'%Y-%m-%d')