From c5f54810f60e036317562b1b42cfeafd18e984c5 Mon Sep 17 00:00:00 2001
From: admin <2780501319@qq.com>
Date: 星期日, 01 三月 2020 16:39:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div
---
fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java
index 7ff05d8..01d62ea 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java
@@ -3,7 +3,7 @@
import java.util.List;
import com.yeshi.fanli.entity.customerservice.CustomerServiceCommonQuestion;
-import com.yeshi.fanli.exception.CustomerServiceCommonQuestionException;
+import com.yeshi.fanli.exception.user.CustomerServiceCommonQuestionException;
public interface CustomerServiceCommonQuestionService {
/**
@@ -69,4 +69,38 @@
*/
public Long countCustomerServiceCommonQuestion();
+ CustomerServiceCommonQuestion selectByPrimaryKey(Long id);
+
+ int deleteBatchByPrimaryKey(List<Long> list);
+
+ int insert(CustomerServiceCommonQuestion record);
+
+ int insertSelective(CustomerServiceCommonQuestion record);
+
+ int updateByPrimaryKeySelective(CustomerServiceCommonQuestion record);
+
+ int updateByPrimaryKey(CustomerServiceCommonQuestion record);
+
+ /**
+ * 鍚庡彴鏌ヨ鍒楄〃
+ * @param start
+ * @param count
+ * @param key 鍏抽敭璇� 銆佸唴瀹规悳绱�
+ * @param type 绫诲瀷
+ * @param state 鐘舵��
+ * @param sort 鎺掑簭锛� 1鏉冮噸浣庡埌楂� 2鏉冮噸楂樺埌浣�
+ * @return
+ */
+ public List<CustomerServiceCommonQuestion> listQuery(long start, int count, String key, String type,
+ Integer state, Integer sort);
+
+ public long countQuery(String key, String type, Integer state);
+
+ /**
+ * 淇濆瓨
+ * @param record
+ * @throws CustomerServiceCommonQuestionException
+ */
+ public void save(CustomerServiceCommonQuestion record) throws Exception, CustomerServiceCommonQuestionException;
+
}
--
Gitblit v1.8.0