喻健
2018-11-13 4e420c75e250f07c5f305d96cd6ddaf46f78b012
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
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.yeshi.fanli.service.inter.homemodule;
 
import java.util.List;
 
import com.yeshi.fanli.entity.bus.homemodule.SuperHomeNavbar;
 
/**
 *  APP导航栏
 * 
 * @author Administrator
 *
 */
public interface SuperHomeNavbarService {
 
    public int deleteByPrimaryKey(Long id);
 
    public int insert(SuperHomeNavbar record);
 
    public int insertSelective(SuperHomeNavbar record);
 
    public SuperHomeNavbar selectByPrimaryKey(Long id);
 
    public int updateByPrimaryKeySelective(SuperHomeNavbar record);
 
    public int updateByPrimaryKey(SuperHomeNavbar record);
 
    /**
     * 根据系统id获取导航
     * @param systemId 系统id
     * @return
     */
    public List<SuperHomeNavbar> listBySystem(Long systemId);
 
    
    /**
     * 根据系统id获取导航 +缓存
     * @param systemId 系统id
     * @return
     */
    List<SuperHomeNavbar> listBySystemCache(Long systemId);
    
    
    /**
     * 根据导航栏id 批量查询
     * @param list
     * @return
     */
    List<SuperHomeNavbar> listByNavbarIds(List<Long> list);
    
    
    /**
     * 根据导航栏id 批量删除
     * @param list
     * @return
     */
    void deleteBatchByNavbarIds(List<Long> list);
    
    /**
     * 根据系统id+导航id查询
     * @param systemId 系统id
     * @return
     */
    List<SuperHomeNavbar> querybyNavbarId(Long navbarId, Long systemId);
    
    /**
     * 根据系统id+导航id 删除
     * @param systemId 系统id
     * @return
     */
    int deletebyNavbarId(Long navbarId, Long systemId);
    
 
}