From eccad5a129106377a275be4f7cdc58e99e9b95d4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 21 七月 2026 13:45:14 +0800
Subject: [PATCH] feat(mes): 实现库存移库功能

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 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
new file mode 100644
index 0000000..9a747a8
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/category/MdmItemCategoryApi.java
@@ -0,0 +1,50 @@
+package cn.iocoder.yudao.module.mdm.api.category;
+
+import cn.iocoder.yudao.framework.common.pojo.CommonResult;
+import cn.iocoder.yudao.module.mdm.api.category.dto.MdmItemCategoryRespDTO;
+
+import java.util.Collection;
+import java.util.List;
+
+/**
+ * MDM 鐗╂枡鍒嗙被 API 鎺ュ彛
+ *
+ * @author 鑺嬮亾婧愮爜
+ */
+public interface MdmItemCategoryApi {
+
+    String PREFIX = "/rpc-api/mdm/category";
+
+    /**
+     * 鑾峰彇鐗╂枡鍒嗙被
+     *
+     * @param id 鍒嗙被缂栧彿
+     * @return 鐗╂枡鍒嗙被
+     */
+    CommonResult<MdmItemCategoryRespDTO> getItemCategory(Long id);
+
+    /**
+     * 鑾峰彇鐗╂枡鍒嗙被鍒楄〃
+     *
+     * @param ids 鍒嗙被缂栧彿鍒楄〃
+     * @return 鐗╂枡鍒嗙被鍒楄〃
+     */
+    CommonResult<List<MdmItemCategoryRespDTO>> getItemCategoryList(Collection<Long> ids);
+
+    /**
+     * 鏍¢獙鐗╂枡鍒嗙被瀛樺湪
+     *
+     * @param id 鍒嗙被缂栧彿
+     * @return 鐗╂枡鍒嗙被
+     */
+    CommonResult<MdmItemCategoryRespDTO> validateItemCategoryExists(Long id);
+
+    /**
+     * 鏍规嵁鐗╂枡/浜у搧鏍囪瘑鑾峰彇鍒嗙被
+     *
+     * @param itemOrProduct 鐗╂枡/浜у搧鏍囪瘑
+     * @return 鐗╂枡鍒嗙被
+     */
+    CommonResult<MdmItemCategoryRespDTO> getItemCategoryByItemOrProduct(String itemOrProduct);
+
+}
\ No newline at end of file

--
Gitblit v1.9.3