台桌详情接口
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user