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