Ver código fonte

fix:结算单

CAYK\miaosen.zhao 3 dias atrás
pai
commit
fb3de0ab21

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