| | |
| | | @Autowired |
| | | private UpPattenUsageService upPattenUsageService; |
| | | @Autowired |
| | | private GlassInfoService glassInfoService; |
| | | private GlassInfoService glassInfoService; |
| | | @Autowired |
| | | private EngineeringService engineeringService; |
| | | private EngineeringService engineeringService; |
| | | @Autowired |
| | | private OptimizeProjectService optimizeProjectService; |
| | | |
| | |
| | | return Result.build(100, "失败", upPattenUsages); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("切换原片上片状态") |
| | | @PostMapping("/updateGlassState") //查询现在上片机的玻璃信息 |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | @ApiOperation("添加任务") |
| | | @PostMapping("/insertTask") |
| | | public Result insertTask(Integer quantity, Integer slot) { |
| | | return Result.build(200, "添加成功", upPattenUsageService.insertTask(quantity, slot)); |
| | | } |
| | | |
| | | @ApiOperation("删除任务") |
| | | @PostMapping("/deleteTask") |
| | | public Result deleteUpPattenTask(String id) { |
| | | return Result.build(200, "删除成功", upPattenUsageService.deleteUpPattenTask(id)); |
| | | } |
| | | } |
| | | |