From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 18 一月 2020 12:06:27 +0800
Subject: [PATCH] 用户注册信息

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/customerservice/CustomerServiceCommonQuestionMapper.java |  107 ++++++++++++++++++++++++++++++++---------------------
 1 files changed, 65 insertions(+), 42 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..99c0769 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
@@ -1,43 +1,66 @@
-package com.yeshi.fanli.dao.mybatis.customerservice;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.customerservice.CustomerServiceCommonQuestion;
-
-public interface CustomerServiceCommonQuestionMapper {
-
-	int deleteByPrimaryKey(Long id);
-
-	int insert(CustomerServiceCommonQuestion record);
-
-	int insertSelective(CustomerServiceCommonQuestion record);
-
-	CustomerServiceCommonQuestion selectByPrimaryKey(Long id);
-
-	/**
-	 * 鎸塊EY鍊兼ā绯婃绱�
-	 * 
-	 * @param key
-	 * @return
-	 */
-	List<CustomerServiceCommonQuestion> selectByKey(@Param("key")String key);
-
-	/**
-	 * 妫�绱㈡墍鏈夋暟鎹�
-	 * 
-	 * @param start
-	 * @param count
-	 * @return
-	 */
-	List<CustomerServiceCommonQuestion> selectOrderByUpdateTime(@Param("start") long start, @Param("count") int count);
-
-	long selectCount();
-
-	int updateByPrimaryKeySelective(CustomerServiceCommonQuestion record);
-
-	int updateByPrimaryKey(CustomerServiceCommonQuestion record);
-	
-	List<String> selectKeys();
+package com.yeshi.fanli.dao.mybatis.customerservice;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.entity.customerservice.CustomerServiceCommonQuestion;
+
+public interface CustomerServiceCommonQuestionMapper {
+
+	int deleteByPrimaryKey(Long id);
+
+	int deleteBatchByPrimaryKey(List<Long> list);
+	
+	int insert(CustomerServiceCommonQuestion record);
+
+	int insertSelective(CustomerServiceCommonQuestion record);
+
+	CustomerServiceCommonQuestion selectByPrimaryKey(Long id);
+
+	/**
+	 * 鎸塊EY鍊兼ā绯婃绱�
+	 * 
+	 * @param key
+	 * @return
+	 */
+	List<CustomerServiceCommonQuestion> selectByKey(@Param("key")String key);
+
+	/**
+	 * 妫�绱㈡墍鏈夋暟鎹�
+	 * 
+	 * @param start
+	 * @param count
+	 * @return
+	 */
+	List<CustomerServiceCommonQuestion> selectOrderByUpdateTime(@Param("start") long start, @Param("count") int count);
+
+	long selectCount();
+
+	int updateByPrimaryKeySelective(CustomerServiceCommonQuestion record);
+
+	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