date_sub(curdate(), interval dayofweek(curdate())+6 day) 上周初date_sub(curdate(), interval dayofweek(curdate())-1 day) 上周末