09 2021 档案

摘要:Java8中的LocalDateTime的表示的精度可以达到纳秒。 而Mysql中的datetime类型支持的精度只能达到毫秒级别。 这就导致了一个问题。 如果我想查询1天内的数据,可以通过以下SQL @Select("select * from table where create_time >= 阅读全文
posted @ 2021-09-24 10:22 pluone 阅读(1598) 评论(0) 推荐(0)