fix: 支付成功结束台桌状态

This commit is contained in:
2024-10-29 16:43:55 +08:00
parent 8010ee3ffe
commit 837aca3fd0

View File

@@ -37,7 +37,7 @@ public class MpShopTableServiceImpl extends ServiceImpl<MpShopTableMapper, TbSho
.set(TbShopTable::getTotalAmount, 0)
.set(TbShopTable::getRealAmount, 0)
.set(TbShopTable::getUseNum, 0)
.set(TbShopTable::getStatus, TableConstant.ShopTable.State.CLEANING.getValue()));
.set(TbShopTable::getStatus, TableConstant.ShopTable.State.IDLE.getValue()));
}else {
return updateStateByQrcode(tableId, TableConstant.ShopTable.State.CLEANING);
}