gaoluyang
9 天以前 6b8585fc452ecdcaa82d86fab79a9f27bb442851
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java
@@ -41,6 +41,10 @@
        if (existingItem != null) {
            // 更新
            item.setId(existingItem.getId());
            // MES 同步请求暂不维护技术参数,避免同步时把 MDM 已维护的参数清空。
            if (syncReqDTO.getTechnicalParameters() == null) {
                item.setTechnicalParameters(existingItem.getTechnicalParameters());
            }
            itemMapper.updateById(item);
            itemId = existingItem.getId();
        } else {
@@ -99,4 +103,4 @@
        }
    }
}
}