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.model.SystemReport;
import com.cloudcross.ssp.service.ISystemReportService;
import com.cloudcross.ssp.base.dao.GenericIBatisDao;
import com.cloudcross.ssp.common.utils.Pager;

@Service
public class SystemReportService implements ISystemReportService{
	
	@Autowired
	private GenericIBatisDao ibatisDao;

	@Override
	public SystemReport findById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

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

	@Override
	public List<SystemReport> findByParams(Map<String, Object> paramMap, Pager pager) {
		// TODO Auto-generated method stub
		paramMap.put("pager", pager);
		return ibatisDao.getList("systemReportSqlMapper.findByParams", paramMap);
	}

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

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

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

}
