fix: 修复选择台桌购物车未查询出数据问题
This commit is contained in:
@@ -1782,7 +1782,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||
throw new BadRequestException("台桌不存在或不处于空闲状态");
|
||||
}
|
||||
|
||||
List<TbCashierCart> tbCashierCarts = mpCashierCartService.selectTakeoutCart(choseTableDTO.getMasterId(), choseTableDTO.getShopId());
|
||||
List<TbCashierCart> tbCashierCarts = mpCashierCartService.selectUnTableCart(choseTableDTO.getMasterId(), choseTableDTO.getShopId());
|
||||
if (tbCashierCarts.isEmpty()) {
|
||||
throw new BadRequestException("购物车为空");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user