| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("任务加急") |
| | | @PostMapping("/jobUrge") |
| | | @CloudRequiredPermission("business:platform:update") |
| | | public ApiResponse jobUrge (@RequestBody PlatformJob platformJob, @RequestHeader(Constants.HEADER_USER_TOKEN) String token){ |
| | | platformJobService.jobUrge(platformJob.getId(),getLoginUser(token)); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("移除车辆排队队列(回到待签到)") |
| | | @PostMapping("/backToWatiSign") |
| | | @CloudRequiredPermission("business:platform:update") |
| | | public ApiResponse backToWatiSign (@RequestBody PlatformJob platformJob,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | platformJobService.backToWatiSign(platformJob.getId(),getLoginUser(token)); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | @ApiOperation("转移月台") |
| | | @PostMapping("/platformMove") |
| | | @CloudRequiredPermission("business:platform:update") |
| | |
| | | jobOperateDTO.setLoginUserInfo(getLoginUser(token)); |
| | | PlatformJob platformJob = platformJobService.platformOverNumber(jobOperateDTO); |
| | | platformJobService.cancelInPark(platformJob); |
| | | if(!Constants.equalsInteger(platformJob.getType(),Constants.FOUR) |
| | | && StringUtils.isNotBlank(platformJob.getBillCode())){ |
| | | //通知WMS绑定月台信息 |
| | | wmsService.orderPlatformBind(platformJob,0); |
| | | } |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |