Administrator
2018-11-14 7ba5c2575d8c13ce53d5d562fe7f6b649e7778b5
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.yeshi.fanli.service.inter.homemodule;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar;
 
/**
 *  APP导航栏
 * 
 * @author Administrator
 *
 */
public interface HomeNavbarService {
 
    public int deleteByPrimaryKey(Long id);
 
    public int insert(HomeNavbar record);
 
    public int insertSelective(HomeNavbar record);
 
    public HomeNavbar selectByPrimaryKey(Long id);
 
    public int updateByPrimaryKeySelective(HomeNavbar record);
 
    public int updateByPrimaryKey(HomeNavbar record);
    
    /**
     * 根据主键批量删除
     * @param list
     * @return
     */
    int deleteBatchByPrimaryKey(List<Long> list);
    
    /**
     * 获取最大的排序值
     * @param card
     * @return
     */
    int getMaxOrder();
    
    /**
     * 查询交换排序对象
     * @param type 
     * @param order 排序值
     * @return
     */
    List<HomeNavbar> getChangeOrder(Long id, Integer type, Integer order);
    
    /**
     * 后端列表查询
     * @param start
     * @param count
     * @param key
     * @return
     */
    List<HomeNavbar> listQuery(long start, int count, String key);
    
    long countlistQuery(String key);
 
}