mysql------1.查询当天的所有数据

Posted on 2016-12-15 16:58  奇思妙想的香菜  阅读(132)  评论(0编辑  收藏  举报

select xs.* from xn_supervision xs where  xs.task_type="+taskType+"  and  xs.create_time>date(now()) and xs.create_time<DATE_ADD(date(NOW()),INTERVAL 1 DAY);