| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.model.ApiResponse; |
| | |
| | | } |
| | | return ApiResponse.success(ywElectricalActionsService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("手动查询异步操作结果") |
| | | @GetMapping("/queryResult/{id}") |
| | | @CloudRequiredPermission("business:ywelectricalactions:queryResult") |
| | | public ApiResponse<String> queryResult(@PathVariable Integer id) { |
| | | return ApiResponse.success(ywElectricalActionsService.queryAsyncResult(id)); |
| | | } |
| | | } |