|
|
@@ -26,15 +26,10 @@ public class NoticeServiceImpl extends BaseMybatisDao<NoticeMapper> implements N
|
|
|
@Override
|
|
|
public Pagination<NoticeBo> updateListUnreadNoticeByAid(Integer pageNo, Integer pageSize, String aid) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
-
|
|
|
- if (!TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
|
|
|
params.put("aid", aid);
|
|
|
- }
|
|
|
-
|
|
|
if (pageNo == null || pageNo < 0) {
|
|
|
pageNo = 1;
|
|
|
}
|
|
|
-
|
|
|
if (pageSize == null || pageSize < 0) {
|
|
|
pageSize = 10;
|
|
|
}
|