From eec7e789a87863c25d92c10ad5dfc22ad80c448d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 14 七月 2020 12:36:48 +0800
Subject: [PATCH] 系统区分BUG修复

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushInfoService.java |  104 +++++++++++++++++++++++++++------------------------
 1 files changed, 55 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..2882635 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,63 @@
 
 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);
+
+
 }

--
Gitblit v1.8.0