wu
2024-10-26 328f9b1f7a046378ef5d8f2b8337770fff372cc7
springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java
@@ -361,7 +361,16 @@
    public Result StartChange(String flowcard) {
        homeMapper.StartChange(flowcard, 1);
        Map<String, Object> map = new HashMap<>();
        int state=homeMapper.selectStartChange(flowcard);
        map.put("message", "200");
        return Result.success(map);
    }
     // 删除工程
     public Result deleteTasks(String flowcard) {
        int aa=homeMapper.deleteFlowcard(flowcard.trim());
        homeMapper.deleteGlassinfo(flowcard.trim());
        Map<String, Object> map = new HashMap<>();
        map.put("message", aa);
        return Result.success(map);
    }
@@ -434,8 +443,13 @@
            String value = TypeData.get(key);
            Integer glasstype;
            System.out.println(key+":"+TypeData.get(key));
            if (TypeData.get(key) == null) {
                glasstype = homeMapper.SelectMaxTypes(key);
                if(glasstype==null){
                glasstype = homeMapper.SelectMaxType();
                 }
                if (glasstype == null) {
                    glasstype = 1;
                }