package com.cftech.mp.wechat.service.impl;

import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.mp.wechat.dao.ImageMapper;
import com.cftech.mp.wechat.model.Image;
import com.cftech.mp.wechat.service.ImageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * imageService
 * Created by lisw 30/11/2016.
 */
@Service("imageService")
public class ImageServiceImpl extends GenericServiceImpl<Image> implements ImageService {

	/**
	 * imageMapper
	 */
	@Autowired
	@Qualifier("imageMapper")
	private ImageMapper imageMapper;

	@Override
	public GenericDao<Image> getGenericMapper() {
		return imageMapper;
	}
}
