package com.cftech.workshop.welcome.service.impl;

import com.cftech.workshop.welcome.model.Welcome;
import com.cftech.workshop.welcome.dao.WelcomeMapper;
import com.cftech.workshop.welcome.service.WelcomeService;
import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.core.sql.Conds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
* ServiceImpl
*
* @author byj
* @date: 2018-07-10 14:32
*/
@Service("welcomeService")
public class WelcomeServiceImpl extends GenericServiceImpl<Welcome> implements WelcomeService {

@Autowired
@Qualifier("welcomeMapper")
private WelcomeMapper welcomeMapper;

@Override
public GenericDao<Welcome> getGenericMapper() {
return welcomeMapper;
}

}