绑定桌码提示修改

This commit is contained in:
张松 2025-03-06 16:54:21 +08:00
parent 9beaa635b7
commit 8a34342922
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
ShopTableCode tableCode = shopTableCodeService.queryChain().eq(ShopTableCode::getTableCode, shopTableBindDTO.getTableCode())
.eq(ShopTableCode::getShopId, shopId).one();
if (tableCode == null) {
throw new ApiNotPrintException("错误码");
throw new ApiNotPrintException("此码非本店铺生成");
}
if (tableCode.getState() == 1) {