摘要:
(1)在spring配置文件加一句配置 spring: #json 时间戳统一转换 jackson: date-format: yyyy-MM time-zone: GMT+8 (2)在实体类里面加注解 @JsonFormat(timezone = "GMT+8", pattern = "yyyy- 阅读全文
摘要:
(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 阅读全文