用户登录问题修改

This commit is contained in:
jiang 2024-09-09 09:32:10 +08:00
parent d192646d04
commit 485cca00c5
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package com.bonus.system.mapper;
import com.bonus.system.domain.UserPasswordHistory;
import java.util.List;
/**
* @author bonus
*/
public interface PasswordValidatorMapper {
/**
* 获取最近五次修改密码的时间
*
* @param userId 用户id
* @return 时间
*/
List<UserPasswordHistory> checkPasswordExpiry(Long userId);
int addPasswordExpiry(UserPasswordHistory userPasswordHistory);
}