From 03a998a6970bd0a3f43dd8fbfb5e25b0753024dd Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 02 八月 2019 17:07:47 +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