xyc
2024-11-18 2d6c0d1cffe663b3b37ef7e0575cfe6e11d8fd85
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/taskReliability/service/ModelLineService.java
@@ -157,7 +157,7 @@
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("cells", rbdJsonArray);
        modelRbd.setContent(jsonObject.toString());
        modelRbdDao.updateById(modelRbd);
//        modelRbdDao.updateById(modelRbd);
        return result;
    }
@@ -274,7 +274,7 @@
        double childrenWidth = 0.0;
        double childrenHeight = 0.0;
        double lineWidth = 120;
        double lineHeight = 80;
        double lineHeight = 90;
        if (!"vnode".equals(root.getNodeType())) {
            root.setBlockWidth(root.getObjectWidth() + lineWidth);
            root.setBlockHeight(root.getObjectHeight() + lineHeight);