摘要: jackjson自动丢弃了小数位最末尾的0 private BigDecimal price; price=12.10; 返回自动转为了12.1 解决方案 1: 返回字段都用字符串 2:BigDecimal序列化自定义处理 package com.lenovo.lps.cost.integrator 阅读全文
posted @ 2023-08-12 10:28 洞玄巅峰 阅读(275) 评论(0) 推荐(0) 编辑
摘要: SpringBooot 2.5.12 package com.lenovo.lps.cost.servicecto.config; import org.springframework.context.annotation.Bean; import org.springframework.conte 阅读全文
posted @ 2023-08-12 10:24 洞玄巅峰 阅读(14) 评论(0) 推荐(0) 编辑