From d54fbc9d4f8981fa0f7f613b33a28a8cd4f764ea Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期日, 25 十月 2026 16:29:53 +0800
Subject: [PATCH] feat(system): 优化用户搜索功能并完善ERP和MES模块验证逻辑

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 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 07dfdb4..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
@@ -24,6 +24,14 @@
     CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id);
 
     /**
+     * 鏍规嵁缂栫爜鑾峰彇鐗╂枡鍒嗙被
+     *
+     * @param code 鍒嗙被缂栫爜
+     * @return 鐗╂枡鍒嗙被
+     */
+    CommonResult<MdmItemCategoryRespDTO> getItemCategoryByCode(String code);
+
+    /**
      * 鑾峰彇鐗╂枡鍒嗙被鍒楄〃
      *
      * @param ids 鍒嗙被缂栧彿鍒楄〃
@@ -47,4 +55,4 @@
      */
     CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct);
 
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3