From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java | 299 ++++++++++++++++++++++++++++++----------------------------- 1 files changed, 150 insertions(+), 149 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java index fcf42ec..fc6246d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java @@ -1,149 +1,150 @@ -package com.yeshi.fanli.service.inter.homemodule; - -import java.util.List; - -import org.springframework.web.multipart.MultipartFile; - -import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo; -import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture; -import com.yeshi.fanli.exception.banner.SwiperPictureException; -import com.yeshi.fanli.vo.homemodule.BannerVO; - -public interface SwiperPictureService { - - public int insertSelective(SwiperPicture record); - - public SwiperPicture selectByPrimaryKey(Long id); - - public int updateByPrimaryKeySelective(SwiperPicture record); - - public int updateByPrimaryKey(SwiperPicture record); - - /** - * 鏌ヨ - * - * @param start - * @param count - * @param bannerId - * @return - * @throws SwiperPictureException - */ - public List<BannerVO> queryByBannerID(long start, int count, Long bannerId) throws SwiperPictureException; - - public long countQueryByBannerID(Long bannerId) throws SwiperPictureException; - - /** - * 鎵归噺鍒犻櫎 - * - * @param list - * 涓婚敭id - * @return - * @throws SwiperPictureException - */ - public int deleteBatchByPrimaryKey(List<Long> list) throws SwiperPictureException; - - /** - * 鎵归噺鍒犻櫎 - * - * @param list - * 绠$悊id - * @return - * @throws SwiperPictureException - */ - public int deleteBatchByBannerID(List<Long> list) throws SwiperPictureException; - - /** - * 鏍规嵁绠$悊id闆嗗悎 鏌ヨ - * - * @param list - * @return - * @throws Exception - */ - public List<SwiperPicture> queryByListBannerID(List<Long> list) throws Exception; - - /** - * 鑾峰彇闄勮繎鎺掑簭鍊� - * - * @param bannerId - * @param type - * @param order - * @return - * @throws SwiperPictureException - */ - public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order); - - /** - * 鑾峰彇鏈�澶ф帓搴忓�� - * - * @param bannerId - * @return - */ - public int getMaxOrderByBannerID(Long bannerId) throws SwiperPictureException; - - /** - * 鏍规嵁 鍞竴鏍囪瘑鏌ヨ - * - * @param card - * 鍞竴鏍囪瘑 - * @return - */ - public List<BannerVO> getByBannerCard(String card); - - /** - * 鏍规嵁鏍囪瘑涓庣増鏈煡璇� - * - * @param card - * @param platform - * @param version - * @return - */ - public List<BannerVO> getByBannerCardAndVersion(String card, String platform, int version); - - /** - * 淇濆瓨淇℃伅 - * - * @param record - * @throws SwiperPictureException - */ - public void saveObject(MultipartFile file, SwiperPicture record, String jumpType, CommonShareInfo shareInfo) - throws SwiperPictureException, Exception; - - /** - * 鏍规嵁绠$悊id 鏌ヨ鏈夋晥杞挱鍥� - * - * @param bannerId - * @return - * @throws SwiperPictureException - */ - public List<BannerVO> getByBannerId(Long bannerId) throws SwiperPictureException; - - - /** - * 鏍规嵁绠$悊id 鏌ヨ鏈夋晥杞挱鍥�(鏇村姞鐗堟湰鍖哄垎) - * @param bannerId - * @param platform - * @param version - * @return - * @throws SwiperPictureException - */ - public List<BannerVO> getByBannerId(Long bannerId,String platform,int version) throws SwiperPictureException; - - - /** - * 涓篵anner璁剧疆鐗堟湰 - * - * @param id - * @param versions - * @throws SwiperPictureException - */ - public void setVersions(Long id, List<Long> versions) throws SwiperPictureException; - - - /** - * 鐘舵�佸垏鎹� - * @param id - * @throws SwiperPictureException - */ - public void switchState(Long id) throws SwiperPictureException; - -} +package com.yeshi.fanli.service.inter.homemodule; + +import java.util.List; + +import com.yeshi.fanli.entity.SystemEnum; +import org.springframework.web.multipart.MultipartFile; + +import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo; +import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture; +import com.yeshi.fanli.exception.banner.SwiperPictureException; +import com.yeshi.fanli.vo.homemodule.BannerVO; + +public interface SwiperPictureService { + + public int insertSelective(SwiperPicture record); + + public SwiperPicture selectByPrimaryKey(Long id); + + public int updateByPrimaryKeySelective(SwiperPicture record); + + public int updateByPrimaryKey(SwiperPicture record); + + /** + * 鏌ヨ + * + * @param start + * @param count + * @param bannerId + * @return + * @throws SwiperPictureException + */ + public List<SwiperPicture> queryByBannerID(long start, int count, Long bannerId) throws SwiperPictureException; + + public long countQueryByBannerID(Long bannerId) throws SwiperPictureException; + + /** + * 鎵归噺鍒犻櫎 + * + * @param list + * 涓婚敭id + * @return + * @throws SwiperPictureException + */ + public int deleteBatchByPrimaryKey(List<Long> list) throws SwiperPictureException; + + /** + * 鎵归噺鍒犻櫎 + * + * @param list + * 绠$悊id + * @return + * @throws SwiperPictureException + */ + public int deleteBatchByBannerID(List<Long> list) throws SwiperPictureException; + + /** + * 鏍规嵁绠$悊id闆嗗悎 鏌ヨ + * + * @param list + * @return + * @throws Exception + */ + public List<SwiperPicture> queryByListBannerID(List<Long> list) throws Exception; + + /** + * 鑾峰彇闄勮繎鎺掑簭鍊� + * + * @param bannerId + * @param type + * @param order + * @return + * @throws SwiperPictureException + */ + public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order); + + /** + * 鑾峰彇鏈�澶ф帓搴忓�� + * + * @param bannerId + * @return + */ + public int getMaxOrderByBannerID(Long bannerId) throws SwiperPictureException; + + /** + * 鏍规嵁 鍞竴鏍囪瘑鏌ヨ + * + * @param card + * 鍞竴鏍囪瘑 + * @return + */ + public List<BannerVO> getByBannerCard(String card, SystemEnum system); + + /** + * 鏍规嵁鏍囪瘑涓庣増鏈煡璇� + * + * @param card + * @param platform + * @param version + * @return + */ + public List<BannerVO> getByBannerCardAndVersion(String card, String platform, int version,SystemEnum system); + + /** + * 淇濆瓨淇℃伅 + * + * @param record + * @throws SwiperPictureException + */ + public void saveObject(MultipartFile file, SwiperPicture record, String jumpType, CommonShareInfo shareInfo,SystemEnum system) + throws SwiperPictureException, Exception; + + /** + * 鏍规嵁绠$悊id 鏌ヨ鏈夋晥杞挱鍥� + * + * @param bannerId + * @return + * @throws SwiperPictureException + */ + public List<BannerVO> getByBannerId(Long bannerId,SystemEnum system) throws SwiperPictureException; + + + /** + * 鏍规嵁绠$悊id 鏌ヨ鏈夋晥杞挱鍥�(鏇村姞鐗堟湰鍖哄垎) + * @param bannerId + * @param platform + * @param version + * @return + * @throws SwiperPictureException + */ + public List<BannerVO> getByBannerId(Long bannerId,String platform,int version,SystemEnum system) throws SwiperPictureException; + + + /** + * 涓篵anner璁剧疆鐗堟湰 + * + * @param id + * @param versions + * @throws SwiperPictureException + */ + public void setVersions(Long id, List<Long> versions) throws SwiperPictureException; + + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws SwiperPictureException + */ + public void switchState(Long id) throws SwiperPictureException; + +} -- Gitblit v1.8.0