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 |  250 ++++++++++++++++++++++++++++++--------------------
 1 files changed, 150 insertions(+), 100 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 488d27b..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,100 +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.SwiperPicture;
-import com.yeshi.fanli.exception.banner.SwiperPictureException;
-
-public interface SwiperPictureService {
-
-	public int deleteByPrimaryKey(Long id) throws SwiperPictureException;
-
-	public int insert(SwiperPicture record) throws SwiperPictureException;
-
-	public int insertSelective(SwiperPicture record) throws SwiperPictureException;
-
-	public SwiperPicture selectByPrimaryKey(Long id) throws SwiperPictureException;
-
-	public int updateByPrimaryKeySelective(SwiperPicture record) throws SwiperPictureException;
-
-	public int updateByPrimaryKey(SwiperPicture record) throws SwiperPictureException;
-	
-	/**
-	 * 鏌ヨ
-	 * @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;
-	
-	/**
-	 * 涓婁紶鍥剧墖
-	 * @param file
-	 * @param record
-	 * @throws Exception
-	 */
-	public void uploadPicture(MultipartFile file, SwiperPicture record) throws Exception;
-
-	/**
-	 * 鏍规嵁绠$悊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) throws SwiperPictureException;
-
-	/**
-	 * 鑾峰彇鏈�澶ф帓搴忓��
-	 * @param bannerId
-	 * @return
-	 */
-	public int getMaxOrderByBannerID(Long bannerId) throws SwiperPictureException;
-
-	/**
-	 * 鏍规嵁 鍞竴鏍囪瘑鏌ヨ
-	 * @param card 鍞竴鏍囪瘑
-	 * @return
-	 */
-	public List<SwiperPicture> getByBannerCard(String card)	throws SwiperPictureException;
-
-	/**
-	 * 淇濆瓨淇℃伅
-	 * @param record
-	 * @throws SwiperPictureException
-	 */
-	public void save(SwiperPicture record) 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