|  |  | 
 |  |  |     @PostMapping("/updateById") | 
 |  |  |     @RequiresPermissions("business:bookings:update") | 
 |  |  |     public ApiResponse updateById(@RequestBody Bookings bookings) { | 
 |  |  |         LoginUserInfo user = getLoginUser(null); | 
 |  |  |         bookings.setCreator(user.getId()); | 
 |  |  |         bookings.setLoginUserInfo(getLoginUser(null)); | 
 |  |  |         bookingsService.updateById(bookings); | 
 |  |  |         return ApiResponse.success(null); | 
 |  |  |     } | 
 |  |  | 
 |  |  |         ExcelExporter.build(Bookings.class).export(bookingsService.findPage(pageWrap).getRecords(), "会议室预定信息表", response); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("根据ID查询") | 
 |  |  |     @GetMapping("/{id}") | 
 |  |  |     @RequiresPermissions("business:bookings:query") | 
 |  |  |     public ApiResponse<MeetingDetailResponse> findById(@PathVariable Integer id) { | 
 |  |  |         return ApiResponse.success(bookingsService.getMeetingDetail(id)); | 
 |  |  |     } | 
 |  |  | //    @ApiOperation("根据ID查询") | 
 |  |  | //    @GetMapping("/{id}") | 
 |  |  | //    @RequiresPermissions("business:bookings:query") | 
 |  |  | //    public ApiResponse<MeetingDetailResponse> findById(@PathVariable Integer id) { | 
 |  |  | //        return ApiResponse.success(bookingsService.getMeetingDetail(id)); | 
 |  |  | //    } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation("取消") |