| | |
| | | int count =machineService.toggleModeMachine(machine); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("当前旋转模式 【1旋转/2不旋转】") |
| | | @PostMapping("/toggleModeRotate") |
| | | @ResponseBody |
| | | public Result toggleModeRotate(@RequestBody Machine machine) { |
| | | int count =machineService.toggleModeRotate(machine); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("[手动上片模式] 修改数量") |
| | | @PostMapping("/manualOperationTask") |
| | | @ResponseBody |
| | | public Result manualOperationTask(@RequestBody Machine machine) { |
| | | int count =machineService.manualOperationTask(machine); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | } |
| | | |