绑定桌码提示修改
This commit is contained in:
@@ -226,7 +226,7 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
|
|||||||
ShopTableCode tableCode = shopTableCodeService.queryChain().eq(ShopTableCode::getTableCode, shopTableBindDTO.getTableCode())
|
ShopTableCode tableCode = shopTableCodeService.queryChain().eq(ShopTableCode::getTableCode, shopTableBindDTO.getTableCode())
|
||||||
.eq(ShopTableCode::getShopId, shopId).one();
|
.eq(ShopTableCode::getShopId, shopId).one();
|
||||||
if (tableCode == null) {
|
if (tableCode == null) {
|
||||||
throw new ApiNotPrintException("错误码");
|
throw new ApiNotPrintException("此码非本店铺生成");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tableCode.getState() == 1) {
|
if (tableCode.getState() == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user