台桌详情接口

This commit is contained in:
张松
2025-02-21 19:01:11 +08:00
parent 03217ee2ab
commit c29f508b4c

View File

@@ -75,6 +75,19 @@ public class ShopTableController {
return CzgResult.success(shopTableService.page(PageUtil.buildPage(), queryWrapper));
}
/**
* 获取台桌详情
* 权限标识: shopTable:list
* @param id 台桌id
* @return 台桌列表
*/
@SaAdminCheckPermission("shopTable:detail")
@GetMapping("/detail")
public CzgResult<ShopTable> detail(@RequestParam Long id) {
return CzgResult.success(shopTableService.getOne(new QueryWrapper().eq(ShopTable::getId, id).eq(ShopTable::getShopId, StpKit.USER.getShopId())));
}
/**
* 台桌信息修改
* 权限标识: shopTable:edit