From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponService.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponService.java index 1287883..55036f4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushCouponService.java @@ -2,9 +2,10 @@ import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import com.yeshi.fanli.entity.push.PushCoupon; -import com.yeshi.fanli.exception.PushException; import com.yeshi.fanli.exception.push.PushCouponException; +import com.yeshi.fanli.exception.push.PushException; public interface PushCouponService { @@ -29,12 +30,12 @@ * @param key * @return */ - public List<PushCoupon> listQuery(long start, int count, String key, Integer state); + public List<PushCoupon> listQuery(long start, int count, String key, Integer state, SystemEnum system); - public long countQuery(String key, Integer state) throws PushCouponException; + public long countQuery(String key, Integer state, SystemEnum system) throws PushCouponException; - public void save(PushCoupon record) throws PushCouponException; + public void save(PushCoupon record) throws PushCouponException, Exception; /** * 鎵ц鎺ㄩ�� @@ -50,7 +51,7 @@ * 鏈夋晥娲诲姩 * @return */ - public List<PushCoupon> listQueryEffective(); + public List<PushCoupon> listQueryEffective( SystemEnum system); } -- Gitblit v1.8.0