Loginlog接口实现+
This commit is contained in:
@@ -8,9 +8,11 @@ import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Mapper
|
||||
@Repository
|
||||
@Mapper
|
||||
public interface LoginLogsDao {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
@@ -27,6 +29,6 @@ public interface LoginLogsDao {
|
||||
LoginLogs selectAlreadyExist(int userId);
|
||||
|
||||
int updateByUserId(LoginLogs record);
|
||||
@MapKey("login_time")
|
||||
public HashMap<Object,Object>getLoginLogs(Integer userId);
|
||||
|
||||
public List<LoginLogs> getLoginLogs(Integer userId);
|
||||
}
|
Reference in New Issue
Block a user