yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SpecialService.java
@@ -4,6 +4,7 @@
import org.springframework.web.multipart.MultipartFile;
import com.yeshi.fanli.entity.accept.AcceptData;
import com.yeshi.fanli.entity.bus.homemodule.Special;
import com.yeshi.fanli.exception.homemodule.SpecialException;
@@ -21,9 +22,9 @@
   public Special selectByPrimaryKey(Long id);
   public List<Special> listQueryByCard(long start, int count, Long card, String key);
   public List<Special> listQueryByCard(long start, int count, Long card, String key, Integer sex);
   public long countlistQueryByCard(Long card, String key);
   public long countlistQueryByCard(Long card, String key, Integer sex);
   /**
@@ -77,7 +78,7 @@
    * @param moveType
    * @throws SpecialException
    */
   public void updateOrder(Long id, Integer moveType) throws SpecialException;
   public void updateOrder(Long id, Integer moveType, Integer sex) throws SpecialException;
   /**
@@ -85,7 +86,7 @@
    * @return
    * @throws Exception
    */
   public JSONObject listCacheSpecialToIndex() throws Exception;
   public JSONObject listCacheSpecialToIndex(AcceptData acceptData, Integer sex) throws Exception;
   /**
@@ -93,6 +94,52 @@
    * @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;
}