Administrator
2018-10-30 c0c91fbda1ba601c4c8cb6d12fd43dfbe02eea5d
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
package com.yeshi.fanli.service.impl.homemodule;
 
import java.util.List;
 
import javax.annotation.Resource;
 
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.homemodule.SuperHomeNavbarMapper;
import com.yeshi.fanli.entity.bus.homemodule.SuperHomeNavbar;
import com.yeshi.fanli.service.inter.homemodule.SuperHomeNavbarService;
 
 
@Service
public class SuperHomeNavbarServiceImpl implements SuperHomeNavbarService {
    
    @Resource
    private SuperHomeNavbarMapper superHomeNavbarMapper;
 
    
    @Override
    public int deleteByPrimaryKey(Long id) {
        return superHomeNavbarMapper.deleteByPrimaryKey(id);
    }
 
    @Override
    public int insert(SuperHomeNavbar record) {
        return superHomeNavbarMapper.insert(record);
    }
 
    @Override
    public int insertSelective(SuperHomeNavbar record) {
        return superHomeNavbarMapper.insertSelective(record);
    }
 
    @Override
    public SuperHomeNavbar selectByPrimaryKey(Long id) {
        return superHomeNavbarMapper.selectByPrimaryKey(id);
    }
 
    @Override
    public int updateByPrimaryKeySelective(SuperHomeNavbar record) {
        return superHomeNavbarMapper.updateByPrimaryKeySelective(record);
    }
 
    @Override
    public int updateByPrimaryKey(SuperHomeNavbar record) {
        return superHomeNavbarMapper.updateByPrimaryKey(record);
    }
    
    
    @Override
    public List<SuperHomeNavbar> listBySystem(Long systemId) {
        return superHomeNavbarMapper.listBySystem(systemId);
    }
 
    @Cacheable(value = "configCache", key = "'listBySystemCache-'+#systemId")
    @Override
    public List<SuperHomeNavbar> listBySystemCache(Long systemId) {
        return listBySystem(systemId);
    }
    
    
    
}