新增创建订单 切换就餐模式接口

This commit is contained in:
2024-09-29 16:34:03 +08:00
parent 5e20bdf962
commit 50c3de33e1

View File

@@ -1584,7 +1584,7 @@ public class CartService {
public List<TbCashierCart> choseEatModel(ChoseEatModelDTO choseEatModelDTO) {
Integer userId = TokenUtil.getUserId();
List<TbCashierCart> cashierCartList;
if (choseEatModelDTO.getType() == 0) {
if (choseEatModelDTO.getType() == 1) {
// 查询购物车所有信息
LambdaQueryWrapper<TbCashierCart> queryWrapper = new LambdaQueryWrapper<TbCashierCart>()
.eq(TbCashierCart::getShopId, choseEatModelDTO.getShopId())