From ebece79c440916cde07154e230139f4c52df168a Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 19 十二月 2019 18:08:52 +0800 Subject: [PATCH] 帮助中心分页处理 --- fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpCenterService.java | 32 ++++++++++++-------------------- 1 files changed, 12 insertions(+), 20 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..7b25c6a 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 @@ -11,21 +11,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 +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) ; - public long countQuery(String key, Long cid) throws HelpCenterException; + public long countQuery(String key, Long cid); /** @@ -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,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); /** * 鐗堟湰璁剧疆 -- Gitblit v1.8.0