摘要:
springmvc 使用@DateTimeFormat(pattern = "yyyy-MM-dd")注解,但是页面传入"2020-01-01",Java后端出现问题:Failed to convert value of type 'java.lang.String' to required typ 阅读全文
摘要:
#查询今天: SELECT * FROM `table_name` WHERE TO_DAYS(`time_filed`) = TO_DAYS(NOW()); #查询昨天: SELECT * FROM `table_name` WHERE TO_DAYS(NOW()) - TO_DAYS(`time 阅读全文