package com.keao.edu.auth.service;

import com.keao.edu.auth.api.entity.SysUserLogin;
import com.keao.edu.common.service.BaseService;

public interface SysUserLoginService extends BaseService<Integer, SysUserLogin> {

	/**
	 * 根据用户查询登录信息
	 * @param userId
	 * @return
	 */
	SysUserLogin findLoginByUserId(Integer userId);

	/**
	 * 自动解锁
	 * @return
	 */
	public boolean autoUnlock();
}