| | |
| | |
|
| | | 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;
|
| | |
|
| | |
| | | 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);
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @param moveType
|
| | | * @throws SpecialException
|
| | | */
|
| | | public void updateOrder(Long id, Integer moveType) throws SpecialException;
|
| | | public void updateOrder(Long id, Integer moveType, Integer sex) throws SpecialException;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public JSONObject listCacheSpecialToIndex() throws Exception;
|
| | | public JSONObject listCacheSpecialToIndex(AcceptData acceptData, Integer sex) throws Exception;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @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;
|
| | |
|
| | |
|
| | | }
|