工业数字模型驱动引擎-关于数据管理API代理器的多维视图&多维分支相关接口说明:示例代码对比

时间:2025-02-12 14:58:59

示例代码对比

本章节以createView/createViewV2接口为例。

表1 示例代码对比

1.24.100以前版本

1.24.100版本

public void test() {        // 创建VersionViewCreateDTO公共父类的dto对象        VersionViewCreateDTO dto = new VersionViewCreateDTO();        dto.setVersionId(1L);        cbmvFuntionTest01Delegator.createView(dto);    }
public void test() {        // 创建CBMVFuntionTest01VersionViewCreateDTO子类的dto对象        CBMVFuntionTest01VersionViewCreateDTO dto = new CBMVFuntionTest01VersionViewCreateDTO();        dto.setVersionId(1L);        cbmvFuntionTest01Delegator.createViewV2(dto);    }
support.huaweicloud.com/devg-idme/idme_devg_0050.html