| | |
| | | if (result == true) { |
| | | return Result.build(200, "指定钢化成功", 1); |
| | | } else { |
| | | return Result.build(200, "已存在钢化任务,请等待钢化完成再指定钢化", 1); |
| | | return Result.build(200, "已存在钢化任务或此工程已被禁止生产,请等待钢化完成再指定钢化", 1); |
| | | } |
| | | } |
| | | |
| | |
| | | return Result.build(200, "查询成功", flowCardIdCount); |
| | | } |
| | | |
| | | @ApiOperation("流程卡个数查询") |
| | | @PostMapping("/selectFlowCardCount") |
| | | public Result selectFlowCardCount() { |
| | | return Result.build(200, "查询成功", bigStorageCageDetailsService.selectFlowCardCount()); |
| | | } |
| | | |
| | | @ApiOperation("指定流程卡") |
| | | @PostMapping("/appointFlowCard") |
| | | public Result appointFlowCard(@RequestBody BigStorageCageDetails bigStorageCageDetails) { |
| | |
| | | @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("调度时间查询") |