From 6b8ab82d1d7fb9d44d85eeb1dfd2e36d3c28c9cf Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 10 六月 2019 11:30:21 +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