Commit 9cf3283e by shenjunjie

2022/9/20 17:26

parent 7e7903c4
......@@ -282,7 +282,7 @@ public class ProjectServiceImpl implements ProjectService {
lists = new ArrayList<>();
user.getRoles().forEach(userRole -> {
lists.add(projectDao.findOneById(userRole.getProjectId()));
roleExpired.put(userRole.getProjectId(), new Date(userRole.getExpiredTime()));
roleExpired.put(userRole.getProjectId(), null == userRole.getExpiredTime() ? null : new Date(userRole.getExpiredTime()));
});
}
return lists.stream().filter(Project::isShow).map(project -> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment