From 6b5f7c66fc40d7f6099d561e31a34fbd50dd20d3 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 01 七月 2026 15:54:57 +0800
Subject: [PATCH] 初始化项目

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/brand/MdmBrandApi.java |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/brand/MdmBrandApi.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/brand/MdmBrandApi.java
new file mode 100644
index 0000000..8b9ff0b
--- /dev/null
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/api/brand/MdmBrandApi.java
@@ -0,0 +1,50 @@
+package cn.iocoder.yudao.module.mdm.api.brand;
+
+import cn.iocoder.yudao.framework.common.pojo.CommonResult;
+import cn.iocoder.yudao.module.mdm.api.brand.dto.MdmBrandRespDTO;
+
+import java.util.Collection;
+import java.util.List;
+
+/**
+ * MDM 鍝佺墝 API 鎺ュ彛
+ *
+ * @author 鑺嬮亾婧愮爜
+ */
+public interface MdmBrandApi {
+
+    String PREFIX = "/rpc-api/mdm/brand";
+
+    /**
+     * 鑾峰彇鍝佺墝
+     *
+     * @param id 鍝佺墝缂栧彿
+     * @return 鍝佺墝
+     */
+    CommonResult<MdmBrandRespDTO> getBrand(Long id);
+
+    /**
+     * 鑾峰彇鍝佺墝鍒楄〃
+     *
+     * @param ids 鍝佺墝缂栧彿鍒楄〃
+     * @return 鍝佺墝鍒楄〃
+     */
+    CommonResult<List<MdmBrandRespDTO>> getBrandList(Collection<Long> ids);
+
+    /**
+     * 鏍¢獙鍝佺墝瀛樺湪
+     *
+     * @param id 鍝佺墝缂栧彿
+     * @return 鍝佺墝
+     */
+    CommonResult<MdmBrandRespDTO> validateBrandExists(Long id);
+
+    /**
+     * 鏍规嵁缂栫爜鑾峰彇鍝佺墝
+     *
+     * @param code 鍝佺墝缂栫爜
+     * @return 鍝佺墝
+     */
+    CommonResult<MdmBrandRespDTO> getBrandByCode(String code);
+
+}
\ No newline at end of file

--
Gitblit v1.9.3