• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

Under Development:Model Copy Tool Class


Ⅰ、Copy Tool Class

KryoUtils.get().copy(modelData);

ArgUtils.convert(DataReport.MODEL_MODEL, DataDesignerReport.MODEL_MODEL, report);

pro.shushi.pamirs.framework.common.utils.ObjectUtils#clone(T)

Q: How to solve the shallow copy problem caused by values existing in _d objects when using BeanUtils.copyProperties for attribute copying?

A: When using BeanUtils.copyProperties for attribute copying, if values exist in _d objects, it belongs to shallow copy, resulting in unsuccessful copying.

It is recommended to use BeanUtils.copyProperties(source, target, "name"); when copying models to prevent remote call exceptions for fields that do not exist in the target model.

Edit this page
Last Updated:1/15/26, 4:02 AM
Prev
How to Obtain the Requested Model During Development
Next
How to Create Indexes, Unique Indexes, and Composite Indexes During Development
默认页脚
Copyright © 2026 Mr.Hope