From 48ee7c963f29f5614a8f86c08608620cc6310793 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 十月 2026 17:11:33 +0800
Subject: [PATCH] feat: 完善产品编码与技术文件管理
---
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java
index eadd522..6a2b189 100644
--- a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/item/MdmItemSyncApiImpl.java
+++ b/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 @@
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.9.3