创建订单添加购物车修改时间
This commit is contained in:
@@ -778,6 +778,7 @@ public class CartService {
|
||||
|
||||
orderDetails.add(orderDetail);
|
||||
cart.setStatus(shopEatTypeInfoDTO.isDineInAfter() ? "create" : "final");
|
||||
cart.setUpdatedAt(DateUtil.current());
|
||||
if (cart.getId() != null) {
|
||||
mpCashierCartMapper.updateById(cart);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user