退款金额单价计算错误

This commit is contained in:
lifenlong 2021-07-21 15:43:49 +08:00
parent dd491e38e5
commit c459a9086a

View File

@ -153,7 +153,7 @@ public class AfterSaleServiceImpl extends ServiceImpl<AfterSaleMapper, AfterSale
}
afterSaleApplyVO.setAccountType(order.getPaymentMethod());
afterSaleApplyVO.setApplyRefundPrice(CurrencyUtil.sub(orderItem.getFlowPrice(), orderItem.getNum()));
afterSaleApplyVO.setApplyRefundPrice(CurrencyUtil.div(orderItem.getFlowPrice(), orderItem.getNum()));
afterSaleApplyVO.setNum(orderItem.getNum());
afterSaleApplyVO.setGoodsId(orderItem.getGoodsId());
afterSaleApplyVO.setGoodsName(orderItem.getGoodsName());