台桌报错

This commit is contained in:
2025-11-13 14:15:37 +08:00
parent 114756c68e
commit 347282c42b

View File

@@ -78,7 +78,9 @@ public class ShopTableController {
queryWrapper.eq(ShopTable::getTableCode, tableCode); queryWrapper.eq(ShopTable::getTableCode, tableCode);
} }
ShopTable one = shopTableService.getOne(queryWrapper); ShopTable one = shopTableService.getOne(queryWrapper);
one.setStatusMsg(ShopTableStatusEnum.getMsgByValue(one.getStatus())); if (one != null) {
one.setStatusMsg(ShopTableStatusEnum.getMsgByValue(one.getStatus()));
}
return CzgResult.success(one); return CzgResult.success(one);
} }