package com.njcn.mapper.log;

import com.njcn.pojo.log.UserLogin;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserLoginMapper extends Mapper<UserLogin> {

	List<UserLogin> getUserLogin(@Param(value = "startTime") String startTime, @Param(value = "endTime") String endTime);

	//获取用户最近一次的登录信息
	UserLogin getLastedLogin(String userIndex);
}
