CAYK\miaosen.zhao преди 3 дни
родител
ревизия
fb3de0ab21
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/inkasso/factoring/settlement/service/Impl/SettlementManagementServiceImpl.java

+ 1 - 1
src/main/java/com/inkasso/factoring/settlement/service/Impl/SettlementManagementServiceImpl.java

@@ -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());