fix: 台桌根据店铺id查询

This commit is contained in:
张松
2024-12-21 09:20:31 +08:00
parent 9371c2b85a
commit 4fa9644ce2

View File

@@ -290,6 +290,7 @@ public class OrderService {
boolean isSeatCart = productId != null && TableConstant.CashierCart.ID.equals(productId.toString());
if ((StrUtil.isNotBlank(tableId))) {
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
.eq(TbShopTable::getShopId, shopId)
.eq(TbShopTable::getQrcode, tableId)
.in(TbShopTable::getStatus, "idle", "using", "pending"));