|  |  |  | 
|---|
|  |  |  | return ApiResponse.success(approveTemplService.findOne(templ)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("根据ID查询") | 
|---|
|  |  |  | @GetMapping("/{id}") | 
|---|
|  |  |  | @CloudRequiredPermission("business:approvetempl:query") | 
|---|
|  |  |  | public ApiResponse findById(@PathVariable Integer id,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
|---|
|  |  |  | return ApiResponse.success(approveTemplService.findById(id)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //    @ApiOperation("根据ID查询") | 
|---|
|  |  |  | //    @GetMapping("/{id}") | 
|---|
|  |  |  | //    @CloudRequiredPermission("business:approvetempl:query") | 
|---|
|  |  |  | //    public ApiResponse findById(@PathVariable Integer id,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
|---|
|  |  |  | //        return ApiResponse.success(approveTemplService.findById(id)); | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | } | 
|---|