1.增加台桌状态

This commit is contained in:
SongZhang 2024-08-21 09:09:44 +08:00
parent d8027c92b2
commit a12a1d2e1f
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public class OrderService {
if ((StrUtil.isNotBlank(tableId))) {
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
.eq(TbShopTable::getQrcode, tableId)
.in(TbShopTable::getStatus, "idle", "opening"));
.in(TbShopTable::getStatus, "idle", "using", "pending"));
if (shopTable == null) {
return Result.fail("台桌不处于开台或空闲状态");