Commit 29490912 authored by suntao's avatar suntao

conf

parent 482979a6
...@@ -8,7 +8,7 @@ import org.springframework.stereotype.Repository; ...@@ -8,7 +8,7 @@ import org.springframework.stereotype.Repository;
* @author suntao * @author suntao
*/ */
@Repository @Repository
public interface ChannelConfRepository{ public interface ChannelConfRepository {
/** /**
* 获取用户 * 获取用户
......
...@@ -18,19 +18,20 @@ import java.util.Map; ...@@ -18,19 +18,20 @@ import java.util.Map;
@Service @Service
public class ChannelConfService { public class ChannelConfService {
@Autowired // @Autowired
private ChannelConfRepository channelConfRepository; // private ChannelConfRepository channelConfRepository;
public Map<String, Object> getChannelConf(Integer channelId) { public Map<String, Object> getChannelConf(Integer channelId) {
ChannelConf channelConf = channelConfRepository.getByChannelId(channelId); // ChannelConf channelConf = channelConfRepository.getByChannelId(channelId);
if (channelConf == null) { // if (channelConf == null) {
return null; // return null;
} // }
//
return ChannelConfUtil.channelConfConvertVOModel(channelConf); // return ChannelConfUtil.channelConfConvertVOModel(channelConf);
return null;
} }
} }
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