From 89cc8f054c27f70fcfe16f14554a8a12e0c19e23 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 18 十二月 2019 09:22:31 +0800
Subject: [PATCH] 邀请统计

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java |   78 ++++++++++++++++++++++++++------------
 1 files changed, 53 insertions(+), 25 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
index 3b65dd9..5116cfb 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/help/AppPageNotificationMapper.java
@@ -1,26 +1,54 @@
-package com.yeshi.fanli.dao.mybatis.help;
-
-import com.yeshi.fanli.entity.bus.help.AppPageNotification;
-
-public interface AppPageNotificationMapper {
-
-	int deleteByPrimaryKey(Long id);
-
-	int insert(AppPageNotification record);
-
-	int insertSelective(AppPageNotification record);
-
-	AppPageNotification selectByPrimaryKey(Long id);
-
-	/**
-	 * 閫氳繃绫诲瀷鑾峰彇閫氱煡
-	 * 
-	 * @param type
-	 * @return
-	 */
-	AppPageNotification selectByType(String type);
-
-	int updateByPrimaryKeySelective(AppPageNotification record);
-
-	int updateByPrimaryKey(AppPageNotification record);
+package com.yeshi.fanli.dao.mybatis.help;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.entity.bus.help.AppPageNotification;
+
+public interface AppPageNotificationMapper {
+
+	int deleteByPrimaryKey(Long id);
+
+	int insert(AppPageNotification record);
+
+	int insertSelective(AppPageNotification record);
+
+	AppPageNotification selectByPrimaryKey(Long id);
+
+	/**
+	 * 閫氳繃绫诲瀷鑾峰彇閫氱煡
+	 * 
+	 * @param type
+	 * @return
+	 */
+	AppPageNotification selectByType(String type);
+	
+	/**
+	 * 閫氳繃绫诲瀷鑾峰彇鏈夋晥閫氱煡
+	 * 
+	 * @param type
+	 * @return
+	 */
+	AppPageNotification selectValidByType(String type);
+
+	int updateByPrimaryKeySelective(AppPageNotification record);
+
+	int updateByPrimaryKey(AppPageNotification record);
+	
+	/**
+	 * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
+	 * @param list
+	 * @return
+	 */
+	int deleteBatchByPrimaryKey(List<Long> list);
+	
+	/**
+	 * 鍚庣鍒楄〃鏌ヨ
+	 * @return
+	 */
+	List<AppPageNotification> listQuery(@Param("start") long start, @Param("count") int count,
+			@Param("key") String key, @Param("show") Integer show, @Param("canClose") Integer canClose);
+	
+	long countQuery(@Param("key") String key,@Param("show") Integer show, @Param("canClose") Integer canClose);
 }
\ No newline at end of file

--
Gitblit v1.8.0