yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java
@@ -17,7 +17,7 @@ /** * MDM 物料同步 API 实现类 * * @author 芋道源码 * @author 超级管理员 */ @RestController @Validated @@ -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 @@ } } } }