售后菜单、是否退运费修改
This commit is contained in:
@ -89,7 +89,8 @@ public class StoreAfterSalesServiceImpl extends BaseServiceImpl<StoreAfterSalesM
|
||||
BigDecimal commodityDiscountAmount = NumberUtil.mul(NumberUtil.div(totalAmountOfGoods, NumberUtil.sub(yxStoreOrder.getTotalPrice(), yxStoreOrder.getPayPostage())), yxStoreOrder.getCouponPrice());
|
||||
//商品优惠后总金额
|
||||
totalPrice = NumberUtil.add(totalPrice, NumberUtil.sub(totalAmountOfGoods, commodityDiscountAmount));
|
||||
|
||||
// todo 根据自己的业务逻辑修改,是否退运费,默认退运费
|
||||
totalPrice = NumberUtil.add(totalPrice, yxStoreOrder.getPayPostage());
|
||||
yxStoreOrderCartInfo.setIsAfterSales(0);
|
||||
storeOrderCartInfoMapper.updateById(yxStoreOrderCartInfo);
|
||||
|
||||
|
Reference in New Issue
Block a user