自动化立体仓库 - WCS系统
*
lsh
2025-04-28 0cf26d5f8c8c2c15645443e84566ffec72abfdf1
src/main/java/com/zy/common/utils/YamlUtils.java
@@ -112,7 +112,8 @@
                String[] split = trim.split(":");
                String lineName = split[0];
                if (lineName.equals(name)) {
                    lines[idx] = line + " #" + dataResource.getMemo();
                    String[] split1 = line.split("#");
                    lines[idx] = split1[0] + " #" + dataResource.getMemo();
                }
                idx++;
            }
@@ -173,6 +174,9 @@
            }
        } else {
            String data = dataResource.getData();
            if (data == null) {
                data = "";
            }
            map.put(dataResource.getName(), data);
        }
    }