关于bigdecimal整数丢失精度0的问题 1,在实体类的属性上加上,就能使整数也有02,使用String类型接收 1,在实体类的属性上加上,就能使整数也有0 // An highlighted block @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal lowFeverMin; 2,使用String类型接收