package com.cftech.sys.service.impl;

import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.sys.dao.MobileViewlogMapper;
import com.cftech.sys.model.MobileViewlog;
import com.cftech.sys.service.MobileViewlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * mobileViewlogService
 * Created by mb 02/12/2016.
 */
@Service("mobileViewlogService")
public class MobileViewlogServiceImpl extends GenericServiceImpl<MobileViewlog> implements MobileViewlogService {

	/**
	 * mobileViewlogMapper
	 */
	@Autowired
	@Qualifier("mobileViewlogMapper")
	private MobileViewlogMapper mobileViewlogMapper;

	@Override
	public GenericDao<MobileViewlog> getGenericMapper() {
		return mobileViewlogMapper;
	}

	@Override
	public int deleteAllMobileViewLog() {
		// TODO Auto-generated method stub
		return mobileViewlogMapper.deleteAllMobileViewLog();
	}
}
