Commit 44f51019 authored by 赵啸非's avatar 赵啸非

添加定时汇总考勤

parent 98906dde
......@@ -51,7 +51,7 @@ public class MenuServiceImpl extends AbstractCRUDServiceImpl<MenuDao, MenuEntity
continue;
}
menuMap.put(sysModule.getId(), sysModule);
if (!user.isAdmin() && !urls.contains(StringUtils.trim(sysModule.getUrl()))) {
if (!user.isAdmin() && urls.contains(StringUtils.trim(sysModule.getUrl()))) {
authIds.add(sysModule.getId());
}
}
......
......@@ -168,8 +168,8 @@ public class UserEntity extends UserVo implements IUser {
@Override
public boolean isAdmin() {
// return super.getId() == null ? false : super.getId().longValue() == SysConstains.ADMIN_ID;
return true;
return super.getId() == null ? false : super.getId().longValue() == SysConstains.ADMIN_ID;
// return true;
}
@Override
......
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