SELECT * from advertisement where DATEDIFF(finish_time,'#{current_time}')=1 AND DATEDIFF(finish_time,start_time)>1
mysql 计算时间差
最新推荐文章于 2024-01-18 21:07:38 发布
SELECT * from advertisement where DATEDIFF(finish_time,'#{current_time}')=1 AND DATEDIFF(finish_time,start_time)>1