|
@@ -481,7 +481,7 @@ public class CommonCostServiceImpl implements CommonCostService {
|
|
|
BigDecimal totalAmount = BigDecimal.ZERO;
|
|
|
for (CommonCostDetailDO commonCostDetailDO : list) {
|
|
|
BigDecimal amount = commonCostDetailDO.getAmount();
|
|
|
- totalAmount.add(amount == null?BigDecimal.ZERO:amount);
|
|
|
+ totalAmount = totalAmount.add(amount == null?BigDecimal.ZERO:amount);
|
|
|
}
|
|
|
result.put(projectId, totalAmount);
|
|
|
}
|