package com.cftech.activity.oil.service.impl;

import com.cftech.activity.oil.dao.ConfigMapper;
import com.cftech.activity.oil.model.Config;
import com.cftech.activity.oil.service.ConfigService;
import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * 机油活动配置ServiceImpl
 *
 * @author faye
 * @date: 2017-08-23 13:50
 */
@Service("configService")
public class ConfigServiceImpl extends GenericServiceImpl<Config> implements ConfigService {

    @Autowired
    @Qualifier("configMapper")
    private ConfigMapper configMapper;

    @Override
    public GenericDao<Config> getGenericMapper() {
        return configMapper;
    }

}