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/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