ZengTao
2023-10-30 d06205a8e488c1857ff0c02cf3f59fea720688bb
springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java
@@ -216,4 +216,23 @@
        map.put("glass", glass);
        return Result.success(map);
    }
    //手动添加扫码位玻璃
    @PostMapping("/InsertQueueGlassId")
    public Result InsertQueueGlassId(String glassid) {
        homeMapper.InsertQueueGlassId(glassid);
        Map<String, Object> map = new HashMap<>();
        map.put("message", "200");
        return Result.success(map);
    }
    //手动添加扫码位玻璃
    @PostMapping("/UpdateQueueState")
    public Result UpdateQueueState() {
        homeMapper.UpdateQueueState();
        Map<String, Object> map = new HashMap<>();
        map.put("message", "200");
        return Result.success(map);
    }
}