From e1a62ec62e7331d97af9302e90e1ce44af8235eb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 27 一月 2021 15:26:55 +0800 Subject: [PATCH] 拼多多授权绑定 --- fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java | 108 +++++++++++++++++++++++++++++------------------------ 1 files changed, 59 insertions(+), 49 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java index 83b13a4..56eacf5 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java @@ -2,6 +2,7 @@ import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import com.yeshi.fanli.entity.push.PushInfo; import com.yeshi.fanli.exception.push.PushCouponException; import com.yeshi.fanli.exception.push.PushException; @@ -9,58 +10,67 @@ public interface PushInfoService { - public void deleteBatchByPrimaryKey(List<Long> list); - - - public void save(PushInfo record) throws PushInfoException,Exception; - - - /** - * 鍚庣鏌ヨ - * @param start - * @param count - * @param key - * @param keyType - * @param state - * @return - */ - public List<PushInfo> listQuery(long start, int count, String key, Integer keyType, Integer state, String type); - - public long countQuery(String key, Integer keyType, Integer state, String type); + public void deleteBatchByPrimaryKey(List<Long> list); - /** - * 鍚庣鎵嬪姩鎺ㄩ�� - * @param id - * @throws Exception - * @throws PushInfoException - * @throws PushException - */ - public void handPush(Long id) throws Exception, PushInfoException, PushException; - - - /** - * 鎵ц鎺ㄩ�� - * @param id - * @throws Exception - * @throws PushCouponException - * @throws PushException - */ - public void executePush(PushInfo pushInfo) throws Exception, PushInfoException, PushException; - - - /** - * 闇�瑕佹帹閫佺殑浠诲姟 - * @return - */ - public List<PushInfo> listTask(); + public void save(PushInfo record) throws PushInfoException, Exception; - /** - *瀹氭椂浠诲姟鎺ㄩ�� - * @param record - */ - public void taskPush(PushInfo record); + /** + * 鍚庣鏌ヨ + * + * @param start + * @param count + * @param key + * @param keyType + * @param state + * @return + */ + public List<PushInfo> listQuery(long start, int count, String key, Integer keyType, Integer state, String type, SystemEnum system); - + public long countQuery(String key, Integer keyType, Integer state, String type, SystemEnum system); + + + /** + * 鍚庣鎵嬪姩鎺ㄩ�� + * + * @param id + * @throws Exception + * @throws PushInfoException + * @throws PushException + */ + public void handPush(Long id) throws Exception, PushInfoException, PushException; + + + /** + * 鎵ц鎺ㄩ�� + * + * @param id + * @throws Exception + * @throws PushCouponException + * @throws PushException + */ + public void executePush(PushInfo pushInfo) throws Exception, PushInfoException, PushException; + + + /** + * 闇�瑕佹帹閫佺殑浠诲姟 + * + * @return + */ + public List<PushInfo> listTask(SystemEnum system); + + + /** + * 瀹氭椂浠诲姟鎺ㄩ�� + * + * @param record + */ + public void taskPush(PushInfo record); + + public PushInfo selectByPrimaryKey(Long id); + + public void updateSelectiveByPrimaryKey(PushInfo info); + + } -- Gitblit v1.8.0