yujian
2019-12-19 ebece79c440916cde07154e230139f4c52df168a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.yeshi.fanli.dao.mybatis.help;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.help.HelpCenter;
import com.yeshi.fanli.exception.config.HelpCenterException;
 
public interface HelpCenterMapper extends BaseMapper<HelpCenter> {
 
    /**
     * 查询有效
     * @param pageId
     * @param count
     * @param title
     * @param cid
     * @return
     */
    List<HelpCenter> listValid(@Param("pageId") Long pageId, @Param("count") int count, 
            @Param("key") String title, @Param("cid") Long cid);
    
    
    List<HelpCenter> query(@Param("start") int start, @Param("count") int count, 
            @Param("key") String title, @Param("cid") Long cid,
             @Param("orderMode") Integer orderMode);
    
    long countQuery(@Param("key") String title, @Param("cid") Long cid);
    
    /**
     * 批量删除
     * @param idList
     * @return
     * @throws HelpCenterException
     */
     int deleteBatchById(@Param("idList") List<String> idList);
    
    
}