From 482c178f89c516440628acb70b2f050747f00449 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期五, 01 十二月 2023 08:09:48 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes
---
springboot-vue3/src/main/java/com/example/springboot/service/CategoryService.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/springboot-vue3/src/main/java/com/example/springboot/service/CategoryService.java b/springboot-vue3/src/main/java/com/example/springboot/service/CategoryService.java
new file mode 100644
index 0000000..f86b51b
--- /dev/null
+++ b/springboot-vue3/src/main/java/com/example/springboot/service/CategoryService.java
@@ -0,0 +1,51 @@
+package com.example.springboot.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.springboot.entity.Category;
+import com.example.springboot.entity.vo.CategoryVo;
+
+import java.util.List;
+
+public interface CategoryService extends IService<Category> {
+ /**
+ * 鍒嗛〉鏌ヨ鍒嗙被
+ *
+ * @param categoryVO
+ * @return
+ */
+ IPage<Category> selectPage(CategoryVo categoryVO);
+
+ /**
+ * 鏌ヨ瀛愰泦,杩斿洖闈炲祵濂楁暟鎹粨鏋�
+ *
+ * @param id
+ * @param bool 鏄惁鍖呭惈鑷繁
+ * @return
+ */
+ List<Category> selectList(Long id, Boolean bool);
+
+ /**
+ * 鏌ヨ瀛愰泦,涓嶅寘鍚嚜宸�,杩斿洖闈炲祵濂楁暟鎹粨鏋�
+ *
+ * @param id 鍒嗙被鐨刬d
+ * @param path 鍒嗙被鐨勮矾寰�
+ * @return
+ */
+ List<Category> selectByPath(Long id, String path);
+
+ /**
+ * 鏌ヨ瀛愰泦,杩斿洖宓屽鏁版嵁缁撴瀯
+ *
+ * @return
+ */
+ List<Category> selectChilds(Long creator);
+
+ /**
+ * 鏌ヨ瀛愰泦,涓嶅寘鍚嚜宸�,杩斿洖宓屽鏁版嵁缁撴瀯
+ *
+ * @param id
+ * @return
+ */
+ List<Category> selectChild(Long id);
+}
--
Gitblit v1.8.0