package com.moral.service.impl;
|
|
import java.util.List;
|
|
import javax.annotation.Resource;
|
|
import org.springframework.stereotype.Service;
|
|
import com.moral.entity.Channel;
|
import com.moral.mapper.ChannelMapper;
|
import com.moral.service.ChannelService;
|
|
@Service
|
public class ChannelServiceImpl implements ChannelService {
|
|
@Resource
|
private ChannelMapper channelMapper;
|
|
@Override
|
public List<Channel> getChannelList(String channelName) {
|
List<Channel> channelList = channelMapper.getChannelList(channelName);
|
return channelList;
|
}
|
|
}
|