|  |  | 
 |  |  |         templ.setType(type); | 
 |  |  |         return ApiResponse.success(approveTemplService.findOne(templ)); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("根据reasonId查询") | 
 |  |  |     @GetMapping("/findById/{id}") | 
 |  |  |     @CloudRequiredPermission("business:approvetempl:query") | 
 |  |  |     public ApiResponse<ApproveTempl> findById(@PathVariable Integer id,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
 |  |  |         ApproveTempl templ =new ApproveTempl(); | 
 |  |  |         templ.setIsdeleted(Constants.ZERO); | 
 |  |  |         templ.setId(id); | 
 |  |  |         return ApiResponse.success(approveTemplService.findOne(templ)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | //    @ApiOperation("根据ID查询") | 
 |  |  | //    @GetMapping("/{id}") |