ソースを参照

fix:结算单

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