package com.iamberry.wechat.service.log;

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

import com.iamberry.wechat.core.entity.admin.AdminLog;
import com.iamberry.wechat.face.admin.AdminLogService;
import com.iamberry.wechat.service.log.dao.AdminLogDAO;
/**
 * description ： 后台日志记录service实现 
 * @author 何秀刚
 * create date：2016年2月18日
 */
@Service
public class AdminLogServiceImpl implements AdminLogService {

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

}
