| | |
| | | import com.doumee.dao.business.model.PlatformJob; |
| | | import com.doumee.dao.web.reqeust.JobOperateDTO; |
| | | import com.doumee.dao.web.reqeust.PlatformDataDTO; |
| | | import com.doumee.dao.web.response.PlatformGroupWorkVO; |
| | | import com.doumee.dao.web.response.PlatformWorkVO; |
| | | import com.doumee.service.business.PlatformGroupService; |
| | | import com.doumee.service.business.PlatformJobService; |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("授权离场") |
| | | @PostMapping("/powerLevel") |
| | | public ApiResponse powerLevel (@RequestBody JobOperateDTO jobOperateDTO, @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | jobOperateDTO.setLoginUserInfo(getLoginUser(token)); |
| | | platformJobService.powerLevel(jobOperateDTO); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("获取月台组 等待与异常挂起数据") |
| | | @GetMapping("/getPlatformGroupWork") |
| | | public ApiResponse<PlatformGroupWorkVO> getPlatformGroupWork (@RequestParam Integer platformGroupId, @RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | return ApiResponse.success(platformGroupService.getPlatformGroupWork(platformGroupId)); |
| | | } |
| | | |
| | | |
| | | } |