ZengTao
2025-10-14 74be79541a69a064305ae1d5554d47cedab9f642
hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/uppattenusage/controller/UpPattenUsageController.java
@@ -16,7 +16,7 @@
/**
 * <p>
 *  前端控制器
 * 前端控制器
 * </p>
 *
 * @author zhoush
@@ -30,9 +30,9 @@
    @Autowired
    private UpPattenUsageService upPattenUsageService;
    @Autowired
    private  GlassInfoService glassInfoService;
    private GlassInfoService glassInfoService;
    @Autowired
    private  EngineeringService engineeringService;
    private EngineeringService engineeringService;
    @Autowired
    private OptimizeProjectService optimizeProjectService;
@@ -66,7 +66,7 @@
            return Result.build(100, "失败", upPattenUsages);
        }
        }
    }
    @ApiOperation("切换原片上片状态")
    @PostMapping("/updateGlassState") //查询现在上片机的玻璃信息
@@ -94,5 +94,11 @@
        }
    }
    @ApiOperation("添加任务")
    @PostMapping("/insertTask")
    public Result insertTask(Integer quantity, Integer slot) {
        return Result.build(100, "添加成功", upPattenUsageService.insertTask(quantity, slot));
    }
}