From ed390c70bfbafb399fe20e8b89efc02ca5be008d Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期二, 30 七月 2019 15:32:40 +0800
Subject: [PATCH] config
---
fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperPictureService.java | 44 ++++++++++++++++++++++++++++----------------
1 files changed, 28 insertions(+), 16 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 dbfff07..12bc48d 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
@@ -4,7 +4,6 @@
import java.util.List;
-import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;
import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture;
@@ -12,17 +11,14 @@
public interface SwiperPictureService {
- public int deleteByPrimaryKey(Long id) throws SwiperPictureException;
- public int insert(SwiperPicture record) throws SwiperPictureException;
+ public int insertSelective(SwiperPicture record);
- public int insertSelective(SwiperPicture record) throws SwiperPictureException;
+ public SwiperPicture selectByPrimaryKey(Long id);
- public SwiperPicture selectByPrimaryKey(Long id) throws SwiperPictureException;
+ public int updateByPrimaryKeySelective(SwiperPicture record);
- public int updateByPrimaryKeySelective(SwiperPicture record) throws SwiperPictureException;
-
- public int updateByPrimaryKey(SwiperPicture record) throws SwiperPictureException;
+ public int updateByPrimaryKey(SwiperPicture record);
/**
* 鏌ヨ
@@ -52,13 +48,6 @@
*/
public int deleteBatchByBannerID(List<Long> list) throws SwiperPictureException;
- /**
- * 涓婁紶鍥剧墖
- * @param file
- * @param record
- * @throws Exception
- */
- public void uploadPicture(MultipartFile file, SwiperPicture record) throws Exception;
/**
* 鏍规嵁绠$悊id闆嗗悎 鏌ヨ
@@ -76,7 +65,7 @@
* @return
* @throws SwiperPictureException
*/
- public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order) throws SwiperPictureException;
+ public List<SwiperPicture> getOrderByBannerID(Long bannerId, Integer type, Integer order);
/**
* 鑾峰彇鏈�澶ф帓搴忓��
@@ -84,4 +73,27 @@
* @return
*/
public int getMaxOrderByBannerID(Long bannerId) throws SwiperPictureException;
+
+ /**
+ * 鏍规嵁 鍞竴鏍囪瘑鏌ヨ
+ * @param card 鍞竴鏍囪瘑
+ * @return
+ */
+ public List<SwiperPicture> getByBannerCard(String card);
+
+ /**
+ * 淇濆瓨淇℃伅
+ * @param record
+ * @throws SwiperPictureException
+ */
+ public void saveObject(MultipartFile file, SwiperPicture record, String jumpType) throws SwiperPictureException, Exception;
+
+ /**
+ * 鏍规嵁绠$悊id 鏌ヨ鏈夋晥杞挱鍥�
+ * @param bannerId
+ * @return
+ * @throws SwiperPictureException
+ */
+ public List<SwiperPicture> getByBannerId(Long bannerId) throws SwiperPictureException;
+
}
--
Gitblit v1.8.0