package com.iamberry.wechat.service.log.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.iamberry.wechat.core.entity.admin.AdminLog;
import com.iamberry.wechat.service.log.dao.AdminLogDAO;
import com.iamberry.wechat.service.mapper.AdminLogMapper;
/**
 * description ： 后台日志记录功能-dao实现 
 * @author 何秀刚
 * create date：2016年2月18日
 */
@Repository
public class AdminLogDAOImpl implements AdminLogDAO {

	@Autowired
	private AdminLogMapper adminLogMapper;
	public void setAdminLogMapper(AdminLogMapper adminLogMapper) {
		this.adminLogMapper = adminLogMapper;
	}
	
	@Override
	public void insertOne(AdminLog log) {
		// TODO Auto-generated method stub
		adminLogMapper.insertOne(log);
	}

}
