1.增加台桌状态
This commit is contained in:
parent
d8027c92b2
commit
a12a1d2e1f
|
|
@ -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("台桌不处于开台或空闲状态");
|
||||
|
|
|
|||
Loading…
Reference in New Issue