| | |
| | | private KBBTLensSortingMapper kBBTLensSortingMapper; |
| | | |
| | | |
| | | |
| | | @ApiOperation("查询库位信息 返回结果") |
| | | @PostMapping("/findKBBTLensSorting") |
| | | @ResponseBody |
| | |
| | | return Result.build(199,"异常",map); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("扫码成功后返回结果 machineId,scanId") |
| | | @PostMapping("/scanMachineAdd") |
| | | @ResponseBody |
| | |
| | | return Result.build(199,"异常",map); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("报工提交 ") |
| | | @PostMapping("/reportForWork") |
| | | @ResponseBody |
| | |
| | | return Result.build(199,"异常",machine); |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("查询当前设备,未完工状态的线上任务") |
| | | @PostMapping("/findMachineTask") |
| | | @ResponseBody |
| | |
| | | int count =taskingService.damagedTask(tasking); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("修改任务状态 【正在工作】") |
| | | @PostMapping("/startMachineTask") |
| | | @ResponseBody |
| | |
| | | Tasking tasking =taskingService.startMachineTask(machine); |
| | | return Result.build(200,"修改成功:",tasking); |
| | | } |
| | | |
| | | @ApiOperation("修改任务状态 【失败】") |
| | | @PostMapping("/loseMachineTask") |
| | | @ResponseBody |
| | |
| | | int count =taskingService.loseMachineTask(machine); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("修改任务状态 【完工】") |
| | | @PostMapping("/finishMachineTask") |
| | | @ResponseBody |
| | |
| | | int count =taskingService.glassDownLine(tasking); |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("玻璃 【下线】") |
| | | @PostMapping("/glassAgainTopLine") |
| | | @ResponseBody |
| | |
| | | return Result.build(200,"修改成功:"+count,count); |
| | | } |
| | | |
| | | @ApiOperation("查询【线下】玻璃 ") |
| | | @PostMapping("/selectGlassDownLine") |
| | | @ResponseBody |
| | | public Result selectGlassDownLine() { |
| | | List<Tasking> downLineTask = taskingService.findDownLineTask(); |
| | | return Result.build(200, "查询成功:", downLineTask); |
| | | } |
| | | |
| | | @ApiOperation("删除【线下】玻璃 ") |
| | | @PostMapping("/deleteGlassDownLine") |
| | | @ResponseBody |
| | | public Result deleteGlassDownLine() { |
| | | int count = taskingService.deleteGlassDownLine(); |
| | | return Result.build(200, "清除成功:"+count, count); |
| | | } |
| | | |
| | | @ApiOperation("提交 扫码报工 ") |
| | | @PostMapping("/scanReport") |
| | | @ResponseBody |