Commit dc9f270a by liyanlin

fix

parent 1e1b62fe
...@@ -863,7 +863,7 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order ...@@ -863,7 +863,7 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
throw new RRException("余额不足"); throw new RRException("余额不足");
} }
ConsumerCommand consumerCmd = ConsumerCommand.builder() ConsumerCommand consumerCmd = ConsumerCommand.builder()
.amount(orderManage.getTotalPaymentAmount().multiply(customerBalance.getDiscountRate().multiply(new BigDecimal(100)).intValue()) .amount(orderManage.getTotalPaymentAmount().multiply(customerBalance.getDiscountRate()).multiply(new BigDecimal(100)).intValue())
.customerId(orderManage.getOrderUser()) .customerId(orderManage.getOrderUser())
.departmentId(orderManage.getDepartmentId()) .departmentId(orderManage.getDepartmentId())
.orderId(orderId.longValue()) .orderId(orderId.longValue())
......
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