![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发问题汇总
今天的砖很烫
两耳不闻窗外事,一心只读圣贤书。
展开
-
bug记录---字符串中隐藏换行符\r或\n导致的问题
bug记录—字符串中隐藏换行符\r或\n导致的问题今天遇到了一个莫名其妙的bug在mysql数据库表中看到的数据是 “tgo air purifier (white) - true hepa filter activated carbon - essential oils tray - portable & compact - filter 99.5ander”,可以看出数据是在一行的,但是复制出来发现是 “tgo air purifier (white) - true hepa filte原创 2021-10-14 23:26:26 · 471 阅读 · 0 评论 -
开发问题记录
boolean类型默认为false,即使前端传入的是一个null,该值仍然会转化为默认的false。原创 2021-04-17 01:43:43 · 165 阅读 · 0 评论 -
实体类属性上的@JsonFormat注解格式化时间不起作用
实体类属性上的@JsonFormat注解格式化时间不起作用解决办法:加上时区:timezone = “GMT+8”@JsonFormat(pattern = “yyyy-MM-dd”, timezone = “GMT+8”)原创 2021-04-15 16:58:16 · 2861 阅读 · 0 评论