From 10f743992254890dc54ebf53f469d28a6e5c14f7 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 26 十月 2026 18:04:35 +0800
Subject: [PATCH] fix 修复部分上传
---
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java
index 17f4686..b861b55 100644
--- a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java
@@ -9,7 +9,7 @@
/**
* MDM 鐗╂枡鍒嗙被 API 鎺ュ彛
*
- * @author 鑺嬮亾婧愮爜
+ * @author 瓒呯骇绠$悊鍛�
*/
public interface MdmItemCategoryApi {
@@ -22,6 +22,14 @@
* @return 鐗╂枡鍒嗙被
*/
CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id);
+
+ /**
+ * 鏍规嵁缂栫爜鑾峰彇鐗╂枡鍒嗙被
+ *
+ * @param code 鍒嗙被缂栫爜
+ * @return 鐗╂枡鍒嗙被
+ */
+ CommonResult<MdmItemCategoryRespDTO> getItemCategoryByCode(String code);
/**
* 鑾峰彇鐗╂枡鍒嗙被鍒楄〃
@@ -39,4 +47,12 @@
*/
CommonResult<MdmItemCategoryRespDTO> validateItemCategoryExists(Long id);
-}
\ No newline at end of file
+ /**
+ * 鏍规嵁鐗╂枡/浜у搧鏍囪瘑鑾峰彇鍒嗙被
+ *
+ * @param itemOrProduct 鐗╂枡/浜у搧鏍囪瘑
+ * @return 鐗╂枡鍒嗙被
+ */
+ CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct);
+
+}
--
Gitblit v1.9.3