package com.yihu.wlyy.service.common.login;

import com.yihu.wlyy.entity.login.LoginLog;
import com.yihu.wlyy.repository.login.LoginLogDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2016.10.20.
 */
@Service
public class LoginLogService {
    @Autowired
    private LoginLogDao loginLogDao;
    @Transactional
    public void saveLog(LoginLog loginLog){
        loginLogDao.save(loginLog);
    }
}
