07 2020 档案

摘要:我用的是 mybatis,发生错误的原因是,我在sql 语句中用了 < 小于号 ,把语句改为 > 大于号 就好了 例: DATE_FORMAT( NOW(), '%H:%i' ) < open_time // 改为 DATE_FORMAT( NOW(), '%H:%i' ) > open_time 阅读全文
posted @ 2020-07-19 21:52 小二丶一碗茶 阅读(3125) 评论(0) 推荐(0)
摘要:1、创建一个num表,用来存储数字0~9 CREATE TABLE num (i int); 2、在num表中生成0~9 INSERT INTO num (i) VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9); 3、生成一个存储日期的表 阅读全文
posted @ 2020-07-18 01:57 小二丶一碗茶
摘要:Request processing failed; nested exception is feign.codec.EncodeException: Could not write JSON: Infinite recursion (StackOverflowError); nested exce 阅读全文
posted @ 2020-07-18 01:46 小二丶一碗茶 阅读(4478) 评论(0) 推荐(0)
摘要:application.properties 中加入 spring.jackson.timeZone=GMT+08:00 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.serialization.write_dates_a 阅读全文
posted @ 2020-07-17 20:24 小二丶一碗茶 阅读(3115) 评论(0) 推荐(0)