for (var e : list1) {
List<Object> tempList = new ArrayList<>();
tempList.add(e.get("name"));
tempList.add(new BigDecimal(e.get("amount") == null ? "0" : e.get("amount").toString()).divide(BigDecimal.valueOf(1000)).setScale(3, BigDecimal.ROUND_HALF_UP));
tempList.add("0");
tempList.add(new BigDecimal(e.get("money") == null ? "0" : e.get("money").toString()).divide(BigDecimal.valueOf(1000)).setScale(3, BigDecimal.ROUND_HALF_UP));
rows.add(tempList);
}