From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 23 一月 2024 17:17:55 +0800
Subject: [PATCH] 抖音转链修改
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java | 90 ++++++++++++++++++++++++++++++++-------------
1 files changed, 64 insertions(+), 26 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java
index f03d5bd..e1c7992 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/GoodsClassMapper.java
@@ -1,26 +1,64 @@
-package com.yeshi.fanli.dao.mybatis;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
-
-public interface GoodsClassMapper {
-
- String getKwById(Long id);
-
- GoodsClass selectByPrimaryKey(Long id);
-
- // 鏌ヨ鎵�鏈�
- List<GoodsClass> queryAll();
-
- int updateByPrimaryKeySelective(GoodsClass record);
-
- /**
- * 鏍规嵁绯荤粺id鏌ヨ鍒嗙被
- * @param systemId
- * @return
- */
- List<GoodsClass> listGoodsClassBySystemId(@Param("systemId") Long systemId);
-}
+package com.yeshi.fanli.dao.mybatis;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.dao.BaseMapper;
+import com.yeshi.fanli.entity.bus.clazz.GoodsClass;
+
+public interface GoodsClassMapper extends BaseMapper<GoodsClass>{
+
+ /**
+ * 鏌ヨ鎼滅储鍏抽敭璇�
+ * @param id
+ * @return
+ */
+ String getKeysById(Long id);
+
+
+ /**
+ * 鏍规嵁鍚嶇О妯$硦鎼滅储
+ * @param id
+ * @return
+ */
+ List<GoodsClass> listByName(@Param("start") long start, @Param("count") int count, @Param("name")String name);
+
+
+ /**
+ * 鏍规嵁鍚嶇О妯$硦鎼滅储
+ * @param id
+ * @return
+ */
+ int countByName(@Param("name")String name, @Param("systemId")Long systemId);
+
+ /**
+ * 鏍规嵁绯荤粺id鏌ヨ鍒嗙被
+ * @param systemId
+ * @return
+ */
+ List<GoodsClass> listGoodsClassBySystemId(@Param("systemId") Long systemId);
+
+ /**
+ * 鏍规嵁鎺掑簭鏌ヨ
+ * @param orderby
+ * @return
+ */
+ GoodsClass getByAdjoinOrder(@Param("order") Integer order, @Param("type") Integer type);
+
+
+ List<GoodsClass> getGoodsClassAll(@Param("sex")Integer sex);
+
+ /**
+ * 鑾峰彇鏈�澶ф帓搴忓��
+ * @return
+ */
+ int getMaxOrder();
+
+ /**
+ * 鑾峰彇鏈夋晥鍒嗙被
+ * @return
+ */
+ List<GoodsClass> getEffectiveClass();
+
+}
--
Gitblit v1.8.0