1、场景:定时任务,每天定时跑,获取前三天的数据:
select * from PS2UMU_EMPLOYEE_VW where to_days(now()) - to_days(时间字段) <= 3;