From 88b54772dbcf5ecab1e2316e4e4626ac901b8908 Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期二, 22 一月 2019 15:58:24 +0800
Subject: [PATCH] 邀请码添加返回状态

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java
index 88484c1..dd267bf 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java
@@ -10,6 +10,8 @@
 
 	int deleteByPrimaryKey(Long id);
 
+	int deleteBatchByPrimaryKey(List<Long> list);
+	
 	int insert(CustomerServiceCommonQuestion record);
 
 	int insertSelective(CustomerServiceCommonQuestion record);
@@ -40,4 +42,25 @@
 	int updateByPrimaryKey(CustomerServiceCommonQuestion record);
 	
 	List<String> selectKeys();
+	
+	/**
+	 * 鍚庣鏌ヨ鍒楄〃
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @param type
+	 * @param state
+	 * @return
+	 */
+	List<CustomerServiceCommonQuestion> listQuery(@Param("start") long start, @Param("count") int count, 
+			@Param("key")String key, @Param("type")String type,
+			@Param("state") Integer state, @Param("sort") Integer sort);
+	/**
+	 * 缁熻
+	 * @param key
+	 * @param type
+	 * @param state
+	 * @return
+	 */
+	long countQuery(@Param("key")String key, @Param("type")String type, @Param("state") Integer state);
 }
\ No newline at end of file

--
Gitblit v1.8.0