|
@@ -70,10 +70,7 @@ public class NoticeServiceImpl extends BaseMybatisDao<NoticeMapper> implements N
|
|
|
@Override
|
|
@Override
|
|
|
public int findUnreadNoticeCount() {
|
|
public int findUnreadNoticeCount() {
|
|
|
String aid = null;
|
|
String aid = null;
|
|
|
- if (!TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
|
|
|
|
|
aid = TokenManager.getAdminId();
|
|
aid = TokenManager.getAdminId();
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
return noticeMapper.selectUnreadedCount(aid);
|
|
return noticeMapper.selectUnreadedCount(aid);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|