Skip to content

Commit

Permalink
订单优惠信息显示
Browse files Browse the repository at this point in the history
  • Loading branch information
Brother-Dragon committed Dec 19, 2022
1 parent 65b111a commit 59e10aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void defaultSubmitOrderListener(SubmitOrderEvent event) {
order.setDeleteStatus(0);
order.setProductNums(shopCartOrderDto.getTotalCount());
order.setAddrOrderId(addrOrderId);
order.setReduceAmount(Arith.sub(shopCartOrderDto.getTotal(), shopCartOrderDto.getActualTotal()));
order.setReduceAmount(Arith.sub(Arith.add(shopCartOrderDto.getTotal(), shopCartOrderDto.getTransfee()), shopCartOrderDto.getActualTotal()));
order.setFreightAmount(shopCartOrderDto.getTransfee());
order.setRemarks(shopCartOrderDto.getRemarks());

Expand Down

0 comments on commit 59e10aa

Please sign in to comment.