Files
love-nav/src/main/java/com/lovenav/dao/LoginLogsDao.java
2023-12-25 17:13:33 +08:00

34 lines
785 B
Java

package com.lovenav.dao;
import cn.hutool.core.date.DateTime;
import com.lovenav.entity.LoginLogs;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
@Repository
@Mapper
public interface LoginLogsDao {
int deleteByPrimaryKey(Integer id);
int insert(LoginLogs record);
int insertSelective(LoginLogs record);
LoginLogs selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(LoginLogs record);
int updateByPrimaryKey(LoginLogs record);
LoginLogs selectAlreadyExist(int userId);
int updateByUserId(LoginLogs record);
public List<LoginLogs> getLoginLogs(Integer userId);
}