|  |  | 
 |  |  |     @ApiOperation("新建") | 
 |  |  |     @PostMapping("/create") | 
 |  |  |     @RequiresPermissions("business:carusebook:create") | 
 |  |  |     public ApiResponse create(@RequestBody CarUseBook carUseBook) { | 
 |  |  |     public ApiResponse create(@RequestBody CarUseBook carUseBook)   throws Exception { | 
 |  |  |         return ApiResponse.success(carUseBookService.create(carUseBook)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         ExcelExporter.build(CarUseBook.class).export(carUseBookService.findPage(pageWrap).getRecords(), "车辆_用车申请信息表", response); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("根据ID查询") | 
 |  |  |     @GetMapping("/{id}") | 
 |  |  |     @RequiresPermissions("business:carusebook:query") | 
 |  |  |     public ApiResponse findById(@PathVariable Integer id) { | 
 |  |  |         return ApiResponse.success(carUseBookService.findById(id)); | 
 |  |  |     } | 
 |  |  | //    @ApiOperation("根据ID查询") | 
 |  |  | //    @GetMapping("/{id}") | 
 |  |  | //    @RequiresPermissions("business:carusebook:query") | 
 |  |  | //    public ApiResponse findById(@PathVariable Integer id) { | 
 |  |  | //        return ApiResponse.success(carUseBookService.findById(id)); | 
 |  |  | //    } | 
 |  |  | } |