| | |
| | | if (result == true) { |
| | | return Result.build(200, "指定钢化成功", 1); |
| | | } else { |
| | | return Result.build(200, "已存在钢化任务,请等待钢化完成再指定钢化", 1); |
| | | return Result.build(200, "已存在钢化任务或此工程已被禁止生产,请等待钢化完成再指定钢化", 1); |
| | | } |
| | | } |
| | | |
| | |
| | | @ApiOperation("指定工程") |
| | | @PostMapping("/appointEngineerId") |
| | | public Result appointEngineerId(@RequestBody BigStorageCageDetails bigStorageCageDetails) { |
| | | bigStorageCageDetailsService.appointEngineerId(bigStorageCageDetails.getEngineerId()); |
| | | return Result.build(200, "修改成功", 1); |
| | | return Result.build(200, bigStorageCageDetailsService.appointEngineerId(bigStorageCageDetails.getEngineerId()), 1); |
| | | } |
| | | |
| | | @ApiOperation("调度时间查询") |