refactor(商城): 订单管理

优化订单发货操作
master
wayn 4 years ago
parent 47f8c88063
commit 78b4fa1096

@ -566,6 +566,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
}
// 更改订单状态为已收货
order.setOrderStatus(OrderUtil.STATUS_CONFIRM);
order.setConfirmTime(LocalDateTime.now());
order.setUpdateTime(new Date());
updateById(order);
return R.success();

Loading…
Cancel
Save