台桌报错
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user