package com.ejie.ab61.service.plantillas;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ejie.ab61.dao.plantillas.RecuperarDatosCampoDao;

/**
 * CamposPlantillaServiceImpl  
 * 
 *  
 */

@Service(value = "recuperarDatosCampoService")
public class RecuperarDatosCampoServiceImpl implements RecuperarDatosCampoService {
	private static final Logger logger = LoggerFactory.getLogger(RecuperarDatosCampoServiceImpl.class);
	@Autowired
	private RecuperarDatosCampoDao recuperarDatosCampoDao;

	/**
	 * Finds a single row in the CamposPlantilla table.
	 *
	 * @param camposPlantilla
	 *            CamposPlantilla
	 * @param param
	 *            param String
	 * @return CamposPlantilla
	 */
	public List<String> recuperar(String sql, String[] param) {
		RecuperarDatosCampoServiceImpl.logger.info("recuperar impl");
		return this.recuperarDatosCampoDao.recuperar(sql, param);
	}

}
