MYSQL 中date_format和 ORACLE 中 to_char sendtime为表中时间字段MYSQL :date_format(sendtime,'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')ORACLE:to_char(sendtime,'yyyy-MM-dd')=to_char(sysdate,'yyyy-MM-dd')