fix: 台桌根据店铺id查询
This commit is contained in:
@@ -290,6 +290,7 @@ public class OrderService {
|
|||||||
boolean isSeatCart = productId != null && TableConstant.CashierCart.ID.equals(productId.toString());
|
boolean isSeatCart = productId != null && TableConstant.CashierCart.ID.equals(productId.toString());
|
||||||
if ((StrUtil.isNotBlank(tableId))) {
|
if ((StrUtil.isNotBlank(tableId))) {
|
||||||
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
|
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
|
||||||
|
.eq(TbShopTable::getShopId, shopId)
|
||||||
.eq(TbShopTable::getQrcode, tableId)
|
.eq(TbShopTable::getQrcode, tableId)
|
||||||
.in(TbShopTable::getStatus, "idle", "using", "pending"));
|
.in(TbShopTable::getStatus, "idle", "using", "pending"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user