Commit 29490912 authored by suntao's avatar suntao

conf

parent 482979a6
......@@ -8,7 +8,7 @@ import org.springframework.stereotype.Repository;
* @author suntao
*/
@Repository
public interface ChannelConfRepository{
public interface ChannelConfRepository {
/**
* 获取用户
......
......@@ -18,19 +18,20 @@ import java.util.Map;
@Service
public class ChannelConfService {
@Autowired
private ChannelConfRepository channelConfRepository;
// @Autowired
// private ChannelConfRepository channelConfRepository;
public Map<String, Object> getChannelConf(Integer channelId) {
ChannelConf channelConf = channelConfRepository.getByChannelId(channelId);
if (channelConf == null) {
// ChannelConf channelConf = channelConfRepository.getByChannelId(channelId);
// if (channelConf == null) {
// return null;
// }
//
// return ChannelConfUtil.channelConfConvertVOModel(channelConf);
return null;
}
return ChannelConfUtil.channelConfConvertVOModel(channelConf);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment