admin
2020-07-14 eec7e789a87863c25d92c10ad5dfc22ad80c448d
fanli/src/main/java/com/yeshi/fanli/service/inter/help/HelpClassService.java
@@ -3,6 +3,7 @@
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;
@@ -26,7 +27,7 @@
    * @return
    * @throws HelpCenterException
    */
   public void save(HelpClass helpClass) throws HelpClassException;
   public void save(HelpClass helpClass, MultipartFile file) throws HelpClassException,Exception;
   
   /**
    * 查询
@@ -37,9 +38,9 @@
    * @param endTime   结束时间
    * @return
    */
   public List<HelpClass> query(int start, int count, String key, Integer state) throws HelpClassException;
   public List<HelpClass> query(int start, int count, String key, Integer state, SystemEnum system) throws HelpClassException;
   
   public long countQuery(String key, Integer state);
   public long countQuery(String key, Integer state, SystemEnum system);
   /**
@@ -64,7 +65,7 @@
    * @param id
    * @throws HelpClassException
    */
   public void updateSort(Integer moveType, Long id) throws HelpClassException;
   public void updateSort(Integer moveType, Long id, SystemEnum system) throws HelpClassException;
   /**
    * 上传图片
@@ -80,14 +81,30 @@
    * @return
    * @throws HelpClassException
    */
   public List<HelpClass> getClassByState(Integer state) throws HelpClassException;
   public List<HelpClass> getClassByState(Integer state, SystemEnum system) throws HelpClassException;
   /**
    * 查询所有选项提供选择
    * @return
    * @throws HelpClassException
    */
   public List<HelpClass> getProvidedClass() 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;
   
}