From e1a62ec62e7331d97af9302e90e1ce44af8235eb Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 27 一月 2021 15:26:55 +0800
Subject: [PATCH] 拼多多授权绑定

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java |   44 +++++++++++++++++++++-----------------------
 1 files changed, 21 insertions(+), 23 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java
index 761eabb..d4961cd 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java
@@ -3,6 +3,7 @@
 
 import java.util.List;
 
+import com.yeshi.fanli.entity.SystemEnum;
 import org.springframework.cache.annotation.Cacheable;
 
 import com.yeshi.fanli.entity.bus.help.HelpCenter;
@@ -11,21 +12,14 @@
 
 public interface HelpCenterService {
 	
-	/**
-	 * 鎻掑叆瀵硅薄
-	 * @param record
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public int insertSelective(HelpCenter record) throws HelpCenterException;
-	
+
 	/**
 	 * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹�
 	 * @param record
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public int updateByPrimaryKey(HelpCenter record) throws HelpCenterException;
+	public int updateByPrimaryKey(HelpCenter record) ;
 	
 	/**
 	 * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁
@@ -33,7 +27,7 @@
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public int updateByPrimaryKeySelective(HelpCenter record) throws HelpCenterException;
+	public int updateByPrimaryKeySelective(HelpCenter record);
 	
 
 	
@@ -43,10 +37,10 @@
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public HelpCenter selectByPrimaryKey(Long id) throws HelpCenterException;
+	public HelpCenter selectByPrimaryKey(Long id) ;
 	
 	@Cacheable(value = "helpCenterCache")
-	public HelpCenter selectByPrimaryKeyCache(Long id) throws HelpCenterException;
+	public HelpCenter selectByPrimaryKeyCache(Long id);
 	
 	
 	/**
@@ -54,14 +48,11 @@
 	 * @param pageIndex 椤电爜
 	 * @param pageSize  椤甸潰鏉℃暟
 	 * @param key		鎼滅储鏉′欢
-	 * @param startTime 璧峰鏃堕棿
-	 * @param endTime   缁撴潫鏃堕棿
 	 * @return
 	 */
-	public List<HelpCenter> query(int pageIndex, int pageSize, String key, Long cid, 
-			Integer orderMode) throws HelpCenterException;
+	public List<HelpCenter> query(int pageIndex, int pageSize, String key, Long cid, Integer orderMode, Integer state, SystemEnum system) ;
 	
-	public long countQuery(String key, Long cid) throws HelpCenterException;
+	public long countQuery(String key, Long cid,Integer state, SystemEnum system);
 
 	
 	/**
@@ -81,7 +72,7 @@
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public int deleteBatchById(List<String> idList) throws HelpCenterException;
+	public int deleteBatchById(List<String> idList);
 
 	/**
 	 * 
@@ -89,17 +80,16 @@
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public HelpInfo getHelpInfo(Long id) throws HelpCenterException;
+	public HelpInfo getHelpInfo(Long id);
 
 	/**
 	 * 鏌ヨ 鍙繑鍥瀒d銆乼itle
-	 * @param pageIndex
 	 * @param pageSize
 	 * @param key
 	 * @return
 	 * @throws HelpCenterException
 	 */
-	public List<HelpCenter> queryIdAndTitle(int pageIndex, int pageSize, String key, Long cid) throws HelpCenterException;
+	public List<HelpCenter> listValid(long pageId, int pageSize, String key, Long cid, SystemEnum system);
 
 	
 	/**
@@ -107,10 +97,10 @@
 	 * @param idList
 	 * @throws HelpCenterException
 	 */
-	public void deleteInfoBatchById(List<String> idList) throws HelpCenterException;
+	public void deleteInfoBatchById(List<String> idList);
 	
 	
-	public HelpInfo getHelpInfoCache(Long id) throws HelpCenterException;
+	public HelpInfo getHelpInfoCache(Long id);
 
 	/**
 	 * 鐗堟湰璁剧疆
@@ -121,4 +111,12 @@
 	public void setVersions(Long id, List<Long> versions) throws HelpCenterException;
 
 	
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws HelpCenterException
+	 */
+	public void switchState(Long id) throws HelpCenterException;
+
+	
 }

--
Gitblit v1.8.0