public CommonResult<String>findDetailByPid(long pid) {
List<Map<String, Object>> map = budgetMapper.findDetailByPid(pid);
DecimalFormat df = new DecimalFormat("#,##0.00");
map.get(0).put("money", df.format(map.get(0).get("money")));
return new CommonResult<>(200, "", JSON.toJSONString(map));
}
java千位符
最新推荐文章于 2024-03-30 14:13:08 发布