1 .判断日期是否相等的语句: SELECT * FROM sc_work WHERE DATE_FORMAT(create_at,'%Y-%m-%d')=DATE_FORMAT(NOW(),'%Y-%m-%d');