From 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 09 五月 2020 21:41:27 +0800 Subject: [PATCH] 2.1需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 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 3ed4065..0041af4 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 @@ -6,8 +6,8 @@ import org.springframework.web.multipart.MultipartFile; import com.yeshi.fanli.entity.bus.help.HelpClass; -import com.yeshi.fanli.exception.HelpCenterException; -import com.yeshi.fanli.exception.HelpClassException; +import com.yeshi.fanli.exception.config.HelpCenterException; +import com.yeshi.fanli.exception.config.HelpClassException; public interface HelpClassService { @@ -26,7 +26,7 @@ * @return * @throws HelpCenterException */ - public void save(HelpClass helpClass) throws HelpClassException; + public void save(HelpClass helpClass, MultipartFile file) throws HelpClassException,Exception; /** * 鏌ヨ @@ -89,5 +89,21 @@ */ public List<HelpClass> getProvidedClass() 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