转自:https://www.cnblogs.com/jylee/p/9831196.html
select * from table where state = '1' and DATE_SUB(CURDATE(), INTERVAL 10 DAY) <= begin_time
转自:https://www.cnblogs.com/jylee/p/9831196.html
select * from table where state = '1' and DATE_SUB(CURDATE(), INTERVAL 10 DAY) <= begin_time