From 1193f141ae9499d2446aa99e9c4fdc75e7552b7d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 10 四月 2020 17:07:06 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div
---
fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 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 21a5e57..8cd92fe 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
@@ -7,25 +7,18 @@
import com.yeshi.fanli.entity.bus.help.HelpCenter;
import com.yeshi.fanli.entity.bus.help.HelpInfo;
-import com.yeshi.fanli.exception.HelpCenterException;
+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;
+ public int updateByPrimaryKey(HelpCenter record) ;
/**
* 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁
@@ -33,7 +26,7 @@
* @return
* @throws HelpCenterException
*/
- public int updateByPrimaryKeySelective(HelpCenter record) throws HelpCenterException;
+ public int updateByPrimaryKeySelective(HelpCenter record);
@@ -43,10 +36,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);
/**
@@ -58,10 +51,9 @@
* @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) ;
- public long countQuery(String key, Long cid) throws HelpCenterException;
+ public long countQuery(String key, Long cid,Integer state);
/**
@@ -72,7 +64,7 @@
* @return
* @throws Exception
*/
- public String save(HelpCenter helpCenter, String content, String html) throws Exception;
+ public String save(HelpCenter helpCenter, String content, String html) throws HelpCenterException, Exception;
/**
@@ -81,7 +73,7 @@
* @return
* @throws HelpCenterException
*/
- public int deleteBatchById(List<String> idList) throws HelpCenterException;
+ public int deleteBatchById(List<String> idList);
/**
*
@@ -89,7 +81,7 @@
* @return
* @throws HelpCenterException
*/
- public HelpInfo getHelpInfo(Long id) throws HelpCenterException;
+ public HelpInfo getHelpInfo(Long id);
/**
* 鏌ヨ 鍙繑鍥瀒d銆乼itle
@@ -99,7 +91,7 @@
* @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);
/**
@@ -107,10 +99,18 @@
* @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);
+
+ /**
+ * 鐗堟湰璁剧疆
+ * @param id
+ * @param versions
+ * @throws HelpCenterException
+ */
+ public void setVersions(Long id, List<Long> versions) throws HelpCenterException;
}
--
Gitblit v1.8.0