|
@@ -908,7 +908,7 @@ public class SettlementManagementServiceImpl extends ServiceImpl<SettlementBasic
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
CAcceptanceGoodsInfo acceptanceGoodsInfo = icAcceptanceGoodsInfoService.getById(settlementGoodsInfo.getAcceptanceGoodsInfoId());
|
|
|
BigDecimal purchasePrice = acceptanceGoodsInfo.getPurchasePrice() == null ? BigDecimal.ZERO : acceptanceGoodsInfo.getPurchasePrice();
|
|
|
- amountSum = amountSum.add(purchasePrice.multiply(acceptanceGoodsInfo.getGoodsQuantity());
|
|
|
+ amountSum = amountSum.add(purchasePrice.multiply(acceptanceGoodsInfo.getGoodsQuantity()));
|
|
|
i = i + 1;
|
|
|
map.put("id", i);
|
|
|
map.put("goodsName", acceptanceGoodsInfo.getGoodsName());
|