统计小数位数保留错误问题
This commit is contained in:
parent
4ffae6f944
commit
6dbe768720
|
@ -509,7 +509,7 @@ public class TAbilityApplicationController {
|
|||
List<Map> resultList = (List<Map>) tAbilityApplicationService.exportFundStatementTable(params);
|
||||
BigDecimal decimal = new BigDecimal(tAbilityApplicationDao.getFundStatementSum(params));
|
||||
BigDecimal divide = decimal.divide(new BigDecimal("10000"));
|
||||
divide.setScale(1, RoundingMode.HALF_UP);
|
||||
divide = divide.setScale(1, RoundingMode.HALF_UP);
|
||||
List<List<Object>> date = resultList.stream().map(index -> {
|
||||
List<Object> data = new ArrayList<>();
|
||||
data.add(index.getOrDefault("resourceName", "") == null ? "" : index.getOrDefault("resourceName", "").toString());
|
||||
|
|
Loading…
Reference in New Issue