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/HelpClassService.java |  212 +++++++++++++++++++++++++++-------------------------
 1 files changed, 110 insertions(+), 102 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java
index 86139c8..f26db08 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java
@@ -1,102 +1,110 @@
-package com.yeshi.fanli.service.inter.help;
-
-import java.io.IOException;
-import java.util.List;
-
-import org.springframework.web.multipart.MultipartFile;
-
-import com.yeshi.fanli.entity.bus.help.HelpClass;
-import com.yeshi.fanli.exception.config.HelpCenterException;
-import com.yeshi.fanli.exception.config.HelpClassException;
-
-public interface HelpClassService {
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param idList
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public int deleteByPrimaryKeyBatch(List<Long> idList);
-	
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param idList
-	 * @return
-	 * @throws HelpCenterException
-	 */
-	public void save(HelpClass helpClass, MultipartFile file) throws HelpClassException,Exception;
-	
-	/**
-	 * 鏌ヨ
-	 * @param pageIndex 椤电爜
-	 * @param pageSize  椤甸潰鏉℃暟
-	 * @param key		鎼滅储鏉′欢
-	 * @param startTime 璧峰鏃堕棿
-	 * @param endTime   缁撴潫鏃堕棿
-	 * @return
-	 */
-	public List<HelpClass> query(int start, int count, String key, Integer state) throws HelpClassException;
-	
-	public long countQuery(String key, Integer state);
-
-
-	/**
-	 * 鏍规嵁id鏌ヨ
-	 * @param id
-	 * @return
-	 */
-	public HelpClass selectByPrimaryKey(Long id);
-
-	/**
-	 * 鏇存柊瑁呮��
-	 * @param id
-	 * @return
-	 * @throws HelpClassException
-	 */
-	public int updateShowState(Long id) throws HelpClassException;
-
-
-	/**
-	 * 绉诲姩浣嶇疆
-	 * @param moveType
-	 * @param id
-	 * @throws HelpClassException
-	 */
-	public void updateSort(Integer moveType, Long id) throws HelpClassException;
-
-	/**
-	 * 涓婁紶鍥剧墖
-	 * @param file
-	 * @param id
-	 * @throws HelpClassException
-	 */
-	public void uploadPic(MultipartFile file, Long id) throws HelpClassException, IOException;
-
-	/**
-	 * 鏍规嵁鐘舵�佹煡璇�
-	 * @param state
-	 * @return
-	 * @throws HelpClassException
-	 */
-	public List<HelpClass> getClassByState(Integer state) throws HelpClassException;
-
-	/**
-	 * 鏌ヨ鎵�鏈夐�夐」鎻愪緵閫夋嫨
-	 * @return
-	 * @throws HelpClassException
-	 */
-	public List<HelpClass> getProvidedClass() throws HelpClassException;
-
-
-	/**
-	 * 鐗堟湰璁剧疆
-	 * @param id
-	 * @param versions
-	 * @throws HelpClassException
-	 */
-	public void setVersions(Long id, List<Long> versions) throws HelpClassException;
-
-	
-}
+package com.yeshi.fanli.service.inter.help;
+
+import java.io.IOException;
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.springframework.web.multipart.MultipartFile;
+
+import com.yeshi.fanli.entity.bus.help.HelpClass;
+import com.yeshi.fanli.exception.config.HelpCenterException;
+import com.yeshi.fanli.exception.config.HelpClassException;
+
+public interface HelpClassService {
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param idList
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public int deleteByPrimaryKeyBatch(List<Long> idList);
+	
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param idList
+	 * @return
+	 * @throws HelpCenterException
+	 */
+	public void save(HelpClass helpClass, MultipartFile file) throws HelpClassException,Exception;
+	
+	/**
+	 * 鏌ヨ
+	 * @param pageIndex 椤电爜
+	 * @param pageSize  椤甸潰鏉℃暟
+	 * @param key		鎼滅储鏉′欢
+	 * @param startTime 璧峰鏃堕棿
+	 * @param endTime   缁撴潫鏃堕棿
+	 * @return
+	 */
+	public List<HelpClass> query(int start, int count, String key, Integer state, SystemEnum system) throws HelpClassException;
+	
+	public long countQuery(String key, Integer state, SystemEnum system);
+
+
+	/**
+	 * 鏍规嵁id鏌ヨ
+	 * @param id
+	 * @return
+	 */
+	public HelpClass selectByPrimaryKey(Long id);
+
+	/**
+	 * 鏇存柊瑁呮��
+	 * @param id
+	 * @return
+	 * @throws HelpClassException
+	 */
+	public int updateShowState(Long id) throws HelpClassException;
+
+
+	/**
+	 * 绉诲姩浣嶇疆
+	 * @param moveType
+	 * @param id
+	 * @throws HelpClassException
+	 */
+	public void updateSort(Integer moveType, Long id, SystemEnum system) throws HelpClassException;
+
+	/**
+	 * 涓婁紶鍥剧墖
+	 * @param file
+	 * @param id
+	 * @throws HelpClassException
+	 */
+	public void uploadPic(MultipartFile file, Long id) throws HelpClassException, IOException;
+
+	/**
+	 * 鏍规嵁鐘舵�佹煡璇�
+	 * @param state
+	 * @return
+	 * @throws HelpClassException
+	 */
+	public List<HelpClass> getClassByState(Integer state, SystemEnum system) throws HelpClassException;
+
+	/**
+	 * 鏌ヨ鎵�鏈夐�夐」鎻愪緵閫夋嫨
+	 * @return
+	 * @throws HelpClassException
+	 */
+	public List<HelpClass> getProvidedClass( SystemEnum system) throws HelpClassException;
+
+
+	/**
+	 * 鐗堟湰璁剧疆
+	 * @param id
+	 * @param versions
+	 * @throws HelpClassException
+	 */
+	public void setVersions(Long id, List<Long> versions) throws HelpClassException;
+
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws HelpClassException
+	 */
+	public void switchState(Long id) throws HelpClassException;
+
+	
+}

--
Gitblit v1.8.0