package com.cloudcross.ssp.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloudcross.ssp.base.dao.GenericIBatisDao;
import com.cloudcross.ssp.common.utils.Pager;
import com.cloudcross.ssp.model.WifiGroupInfo;
import com.cloudcross.ssp.service.IWifiGroupInfoService;
/**
 * 
 *
 * 类名称：WifiGroupInfoService
 * 类描述：
 * 创建人：zhoujun
 * 修改人：zhoujun
 * 修改时间：2015年11月19日 下午1:50:54
 * 修改备注：
 * @version 1.0.0
 *
 */
@Service
public class WifiGroupInfoService implements IWifiGroupInfoService{
	
	@Autowired
	private GenericIBatisDao myBatisDao;
	
	@Override
	public WifiGroupInfo findById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int countByParams(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<WifiGroupInfo> findByParams(Map<String, Object> paramMap,Pager pager) {
		return myBatisDao.getList("wifiGroupInfoSqlMapper.queryGroupNames",paramMap);
	}

	@Override
	public boolean add(WifiGroupInfo wifiGroupInfo) {
		myBatisDao.save("wifiGroupInfoSqlMapper.addWifiGroupInfo", wifiGroupInfo);
		return true;
	}

	@Override
	public boolean edit(WifiGroupInfo t) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean updateStatus(List<Long> idList, int status) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public List<WifiGroupInfo> queryWifiGroupInfoByCondition(Map<String, Object> condition) {
		return myBatisDao.getList("wifiGroupInfoSqlMapper.queryWifiGroupInfoByCondition",condition);
	}

}
