From 69bee82b81626b82b7f39f0e459e4f56b1699b51 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 13 三月 2019 12:02:16 +0800 Subject: [PATCH] 正式数据库修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/customerservice/CustomerServiceCommonQuestionService.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 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..90c7486 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 @@ -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