1. fix bugs
This commit is contained in:
2026-02-15 11:30:52 +08:00
parent d3e09b1cb9
commit 0656cabe4a

View File

@@ -116,7 +116,6 @@ public class CommonUserOrderServiceImpl extends ServiceImpl<CommonUserOrderMappe
order.setActualAmount(actualAmount); order.setActualAmount(actualAmount);
order.setOrderType(orderType); order.setOrderType(orderType);
order.setPaymentType(request.getIsOfflinePayment() ? request.getPaymentType() : null); order.setPaymentType(request.getIsOfflinePayment() ? request.getPaymentType() : null);
order.setCreateTime(new Date());
this.save(order); this.save(order);
yield new CreateOrderResponse(String.valueOf(order.getId()), actualAmount, totalAmount, discount); yield new CreateOrderResponse(String.valueOf(order.getId()), actualAmount, totalAmount, discount);
} }