Commit 46be2bee by 吕明尚

修改订单计算金额为绝对值

parent 499d0f24
......@@ -1873,7 +1873,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
priceResponse.setCouponFee(priceResponse.getTotalFee());
} else {
priceResponse.setPayFee(subtract);
priceResponse.setCouponFee(priceResponse.getTotalFee().subtract(subtract));
priceResponse.setCouponFee(priceResponse.getTotalFee().subtract(subtract).abs());
}
break;
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment