摘要:
(1)在spring配置文件加一句配置 spring: #json 时间戳统一转换 jackson: date-format: yyyy-MM time-zone: GMT+8 (2)在实体类里面加注解 @JsonFormat(timezone = "GMT+8", pattern = "yyyy- 阅读全文
posted @ 2021-06-19 23:48
小猫爱哭鬼
阅读(372)
评论(0)
推荐(0)
摘要:
(1)group by 今天遇到了一个使用group by的场景,sql语句如下 select to_char(pe.record_time, 'MM-DD') recordTime, round(avg(pe.num_value), 0) numValue ,pe.type FROM projec 阅读全文
posted @ 2021-06-19 19:11
小猫爱哭鬼
阅读(56)
评论(0)
推荐(0)
浙公网安备 33010602011771号