admin
2020-05-12 2ec42a5aacea35d2918f0e17f07685cf5b4d25c8
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java
@@ -6,7 +6,9 @@
import com.yeshi.fanli.entity.accept.AcceptData;
import com.yeshi.fanli.entity.bus.homemodule.Special;
import com.yeshi.fanli.entity.bus.homemodule.SpecialExtra;
import com.yeshi.fanli.exception.homemodule.SpecialException;
import com.yeshi.fanli.vo.homemodule.SpecialVO;
import net.sf.json.JSONObject;
@@ -22,7 +24,7 @@
   public Special selectByPrimaryKey(Long id);
   public List<Special> listQueryByCard(long start, int count, Long card, String key, Integer sex);
   public List<SpecialVO> listQueryByCard(long start, int count, Long card, String key, Integer sex);
   public long countlistQueryByCard(Long card, String key, Integer sex);
@@ -70,7 +72,7 @@
    * @throws SpecialException
    * @throws Exception
    */
   public void saveObject(MultipartFile file, MultipartFile file2, MultipartFile file3, Special record, String jumpType) throws SpecialException, Exception;
   public void saveObject(MultipartFile file, MultipartFile file2, MultipartFile file3, Special record, String jumpType, SpecialExtra extra) throws SpecialException, Exception;
   /**
    * 更换顺序
@@ -94,6 +96,59 @@
    * @param placeKey
    * @return
    */
   public List<Special> listByPlaceKey(String placeKey);
   public List<Special> listByPlaceKey(String placeKey, Integer platform, Integer versionCode);
   /**
    * 专题 版本区分
    * @param start
    * @param count
    * @param card
    * @param systemId
    * @param platform
    * @param versionCode
    * @return
    */
   public List<Special> listByVersion(long start, int count, String card, String platform, Integer versionCode);
   /**
    * 专题版本区分 传递多个位置
    * @param list
    * @param platform
    * @param versionCode
    * @return
    */
   public List<Special> listByPlaceKeyList(long start, int count, List<String> list, Integer platform, Integer versionCode);
   public long countByPlaceKeyList(List<String> list, Integer platform, Integer versionCode);
   /**
    * 查询专题并返回标签
    * @param list
    * @param platform
    * @param versionCode
    * @return
    */
   public List<Special> listByPlaceKeyHasLabel(long start, int count, List<String> list, Integer platform, Integer versionCode);
   /**
    * 为专题设置版本
    * @param specialId
    * @param versions
    * @throws Exception
    */
   public void setVersions(Long specialId,List<Long> versions)  throws Exception;
   /**
    * 更改状态
    * @param id
    * @throws SpecialException
    */
   public void switchState(Long id) throws SpecialException;
}