| | |
| | | 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);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public List<SuperHomeNavbar> listByNavbarIds(List<Long> list) {
|
| | | return superHomeNavbarMapper.listByNavbarIds(list);
|
| | | }
|
| | | |
| | | @Override
|
| | | public void deleteBatchByNavbarIds(List<Long> list) {
|
| | | superHomeNavbarMapper.deleteBatchByNavbarIds(list);
|
| | | }
|
| | | |
| | | @Override
|
| | | public List<SuperHomeNavbar> querybyNavbarId(Long navbarId, Long systemId) {
|
| | | return superHomeNavbarMapper.querybyNavbarId(navbarId, systemId);
|
| | | }
|
| | | |
| | | @Override
|
| | | public int deletebyNavbarId(Long navbarId, Long systemId) {
|
| | | return superHomeNavbarMapper.deletebyNavbarId(navbarId, systemId);
|
| | | }
|
| | | |
| | | |
| | | |
| | | }
|
| | | 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); |
| | | } |
| | | |
| | | |
| | | } |