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/service/inter/help/HelpCenterService.java |  238 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 122 insertions(+), 116 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 fca73a3..3591908 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
@@ -1,116 +1,122 @@
-package com.yeshi.fanli.service.inter.help;
-
-
-import java.util.List;
-
-import org.springframework.cache.annotation.Cacheable;
-
-import com.yeshi.fanli.entity.bus.help.HelpCenter;
-import com.yeshi.fanli.entity.bus.help.HelpInfo;
-import com.yeshi.fanli.exception.config.HelpCenterException;
-
-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;
-	
-	/**
-	 * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁
-	 * @param record
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public int updateByPrimaryKeySelective(HelpCenter record) throws HelpCenterException;
-	
-
-	
-	/**
-	 * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄
-	 * @param id
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public HelpCenter selectByPrimaryKey(Long id) throws HelpCenterException;
-	
-	@Cacheable(value = "helpCenterCache")
-	public HelpCenter selectByPrimaryKeyCache(Long id) throws HelpCenterException;
-	
-	
-	/**
-	 * 鏌ヨ
-	 * @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 long countQuery(String key, Long cid) throws HelpCenterException;
-
-	
-	/**
-	 * 淇濆瓨淇℃伅
-	 * @param helpCenter
-	 * @param content
-	 * @param html
-	 * @return 
-	 * @throws Exception
-	 */
-	public String save(HelpCenter helpCenter, String content, String html) throws Exception;
-
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param idList
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public int deleteBatchById(List<String> idList) throws HelpCenterException;
-
-	/**
-	 * 
-	 * @param id
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public HelpInfo getHelpInfo(Long id) throws HelpCenterException;
-
-	/**
-	 * 鏌ヨ 鍙繑鍥瀒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;
-
-	
-	/**
-	 * 鍒犻櫎甯姪璇︽儏淇℃伅
-	 * @param idList
-	 * @throws HelpCenterException
-	 */
-	public void deleteInfoBatchById(List<String> idList) throws HelpCenterException;
-	
-	
-	public HelpInfo getHelpInfoCache(Long id) throws HelpCenterException;
-
-	
-}
+package com.yeshi.fanli.service.inter.help;
+
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.springframework.cache.annotation.Cacheable;
+
+import com.yeshi.fanli.entity.bus.help.HelpCenter;
+import com.yeshi.fanli.entity.bus.help.HelpInfo;
+import com.yeshi.fanli.exception.config.HelpCenterException;
+
+public interface HelpCenterService {
+	
+
+	/**
+	 * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹�
+	 * @param record
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public int updateByPrimaryKey(HelpCenter record) ;
+	
+	/**
+	 * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁
+	 * @param record
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public int updateByPrimaryKeySelective(HelpCenter record);
+	
+
+	
+	/**
+	 * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄
+	 * @param id
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public HelpCenter selectByPrimaryKey(Long id) ;
+	
+	@Cacheable(value = "helpCenterCache")
+	public HelpCenter selectByPrimaryKeyCache(Long id);
+	
+	
+	/**
+	 * 鏌ヨ
+	 * @param pageIndex 椤电爜
+	 * @param pageSize  椤甸潰鏉℃暟
+	 * @param key		鎼滅储鏉′欢
+	 * @return
+	 */
+	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,Integer state, SystemEnum system);
+
+	
+	/**
+	 * 淇濆瓨淇℃伅
+	 * @param helpCenter
+	 * @param content
+	 * @param html
+	 * @return 
+	 * @throws Exception
+	 */
+	public String save(HelpCenter helpCenter, String content, String html) throws HelpCenterException, Exception;
+
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param idList
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public int deleteBatchById(List<String> idList);
+
+	/**
+	 * 
+	 * @param id
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public HelpInfo getHelpInfo(Long id);
+
+	/**
+	 * 鏌ヨ 鍙繑鍥瀒d銆乼itle
+	 * @param pageSize
+	 * @param key
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public List<HelpCenter> listValid(long pageId, int pageSize, String key, Long cid, SystemEnum system);
+
+	
+	/**
+	 * 鍒犻櫎甯姪璇︽儏淇℃伅
+	 * @param idList
+	 * @throws HelpCenterException
+	 */
+	public void deleteInfoBatchById(List<String> idList);
+	
+	
+	public HelpInfo getHelpInfoCache(Long id);
+
+	/**
+	 * 鐗堟湰璁剧疆
+	 * @param id
+	 * @param versions
+	 * @throws HelpCenterException
+	 */
+	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