1、驼峰转换:类似t_id这种,类中字段tId返回前端为tid。需要添加注解@JsonProperty("tId");
2、jpa中使用 jpaQueryFactory.select(Projections.bean(xxxx.class,xxx.tId)).from(xxx),无法返回tid字段的值;处理方案:类字段转为小写,添加注解@Column(name = "t_id");
@Column(name = "t_id") @JsonProperty("tId") private Double tid;