查找用户密码bug修复

yun-zuoyi
feng.liu 3 years ago
parent 6ced8be8a7
commit 20bba1f73d

@ -175,7 +175,7 @@ public class SysUserSavePasswordService extends CrudService<SysUserPassword> imp
@Override
public List<SysUserPassword> findPasswordByPassword(String password,Long userId) {
List<SysUserPassword> passwordList = new ArrayList<>();
if(StringUtils.isBlank(password)){
if(StringUtils.isBlank(password) || userId == null){
return passwordList;
}
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();

Loading…
Cancel
Save