SELECT *,count(*) FROM lt_cleanroute_point_arrive  
                     WHERE TIME_TO_ARRIVE BETWEEN '12:00:01' AND '23:59:59' and DATE_FORMAT(data_dt,'%Y-%m') = '2023-01' GROUP BY DATE(data_dt) 

使用Date_format(字段,'%Y-%m-%d')  这样是不行的