1.增加台桌状态
This commit is contained in:
@@ -141,7 +141,7 @@ public class OrderService {
|
|||||||
if ((StrUtil.isNotBlank(tableId))) {
|
if ((StrUtil.isNotBlank(tableId))) {
|
||||||
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
|
TbShopTable shopTable = mpShopTableMapper.selectOne(new LambdaUpdateWrapper<TbShopTable>()
|
||||||
.eq(TbShopTable::getQrcode, tableId)
|
.eq(TbShopTable::getQrcode, tableId)
|
||||||
.in(TbShopTable::getStatus, "idle", "opening"));
|
.in(TbShopTable::getStatus, "idle", "using", "pending"));
|
||||||
|
|
||||||
if (shopTable == null) {
|
if (shopTable == null) {
|
||||||
return Result.fail("台桌不处于开台或空闲状态");
|
return Result.fail("台桌不处于开台或空闲状态");
|
||||||
|
|||||||
Reference in New Issue
Block a user