/**
 * 
 */
package org.cs.mgr.admin.service.impl;

import java.util.Map;

import org.cs.core.service.impl.BaseService;
import org.cs.mgr.admin.dao.ITbNewsDao;
import org.cs.mgr.admin.model.TbNews;
import org.cs.mgr.admin.service.ITbNewsService;
import org.cs.util.Pager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName TbNewsService 
 * @Description TODO(这里用一句话描述这个类的作用)
 * @author Administrator
 * @Date 2017-4-18上午9:39:40
 * @version 1.0.0
 */
@Service
public class TbNewsService extends BaseService<TbNews> implements ITbNewsService {

	@Autowired
	private ITbNewsDao tbNewsDao;

	/* (non-Javadoc)
	 * @see org.cs.hzy.help.service.ITbNewsService#getList(org.cs.util.Pager, java.lang.String)
	 */
	@Override
	public Pager getList(Pager page, String classCode, String show, String userType) {
		return tbNewsDao.getList(page, classCode, show, userType);
	}
	
	@Override
	public Map<String, Object> queryDetail(Map<String, String> map) {
		return tbNewsDao.queryDetail(map);
	}

	@Override
	public Pager getMapList(Pager page, String classCode, String show, Map<String, String> map) {
		// TODO Auto-generated method stub
		return tbNewsDao.getMapList(page, classCode, show, map);
	}

}
