feat:
1. fix bugs
This commit is contained in:
@@ -116,7 +116,6 @@ public class CommonUserOrderServiceImpl extends ServiceImpl<CommonUserOrderMappe
|
||||
order.setActualAmount(actualAmount);
|
||||
order.setOrderType(orderType);
|
||||
order.setPaymentType(request.getIsOfflinePayment() ? request.getPaymentType() : null);
|
||||
order.setCreateTime(new Date());
|
||||
this.save(order);
|
||||
yield new CreateOrderResponse(String.valueOf(order.getId()), actualAmount, totalAmount, discount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user