From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java |   83 ++++++++++++++++++++---------------------
 1 files changed, 40 insertions(+), 43 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java
index bf243bc..d50ef65 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/HelpCenterMapper.java
@@ -1,44 +1,41 @@
-package com.yeshi.fanli.dao.mybatis.help;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.bus.help.HelpCenter;
-import com.yeshi.fanli.exception.config.HelpCenterException;
-
-public interface HelpCenterMapper {
-
-	int deleteByPrimaryKey(Long id);
-
-	int insert(HelpCenter record);
-
-	int insertSelective(HelpCenter record);
-
-	HelpCenter selectByPrimaryKey(Long id);
-
-	int updateByPrimaryKeySelective(HelpCenter record);
-
-	int updateByPrimaryKey(HelpCenter record);
-	
-	
-	List<HelpCenter> queryIdAndTitle(@Param("start") int start, @Param("count") int count, 
-			@Param("key") String title, @Param("cid") Long cid);
-	
-	
-	List<HelpCenter> query(@Param("start") int start, @Param("count") int count, 
-			@Param("key") String title, @Param("cid") Long cid,
-			 @Param("orderMode") Integer orderMode);
-	
-	long countQuery(@Param("key") String title, @Param("cid") Long cid);
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param idList
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	 int deleteBatchById(@Param("idList") List<String> idList);
-	
-	
+package com.yeshi.fanli.dao.mybatis.help;
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.dao.BaseMapper;
+import com.yeshi.fanli.entity.bus.help.HelpCenter;
+import com.yeshi.fanli.exception.config.HelpCenterException;
+
+public interface HelpCenterMapper extends BaseMapper<HelpCenter> {
+
+	/**
+	 * 鏌ヨ鏈夋晥
+	 * @param pageId
+	 * @param count
+	 * @param title
+	 * @param cid
+	 * @return
+	 */
+	List<HelpCenter> listValid(@Param("pageId") Long pageId, @Param("count") int count, 
+			@Param("key") String title, @Param("cid") Long cid,@Param("system") SystemEnum system);
+	
+	
+	List<HelpCenter> query(@Param("start") int start, @Param("count") int count, 
+			@Param("key") String title, @Param("cid") Long cid,
+			 @Param("orderMode") Integer orderMode,  @Param("state") Integer state,@Param("system") SystemEnum system);
+	
+	long countQuery(@Param("key") String title, @Param("cid") Long cid, @Param("state") Integer state,@Param("system") SystemEnum system);
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param idList
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	 int deleteBatchById(@Param("idList") List<String> idList);
+	
+	
 }
\ No newline at end of file

--
Gitblit v1.8.0