用户登录问题修改
This commit is contained in:
parent
d192646d04
commit
485cca00c5
|
|
@ -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);
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue