创建订单同步修改购物车就餐类型
This commit is contained in:
@@ -843,8 +843,7 @@ public class CartService {
|
||||
seatCartInfo = cart;
|
||||
continue;
|
||||
}
|
||||
// 设置用餐类型
|
||||
cart.setUseType(shopEatTypeInfoDTO.getUseType());
|
||||
|
||||
// 设置打包费
|
||||
if (shopEatTypeInfoDTO.isTakeout()) {
|
||||
cart.setTableId("");
|
||||
@@ -1148,7 +1147,6 @@ public class CartService {
|
||||
if (!shopEatTypeInfoDTO.isDineInAfter()) {
|
||||
cashierCart.setStatus("closed");
|
||||
}
|
||||
cashierCart.setUseType(shopEatTypeInfoDTO.getUseType());
|
||||
cashierCart.setPlaceNum(cashierCart.getPlaceNum() == null ? currentPlaceNum : cashierCart.getPlaceNum());
|
||||
mpCashierCartMapper.updateById(cashierCart);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user