|
|
@@ -104,6 +104,9 @@ public class AchievementServiceImpl extends BaseMybatisDao<AchievementMapper> im
|
|
|
if (pSize == null || pSize < 0 || pSize > 10) {
|
|
|
pSize = 10;
|
|
|
}
|
|
|
+ if (!TokenManager.hasRole(AFTConstants.SUPERADMIN) && !TokenManager.hasRole(AFTConstants.AUDITORADMIN)) {
|
|
|
+ params.put("adminId", TokenManager.getAdminId());
|
|
|
+ }
|
|
|
|
|
|
return (Pagination<AchievementListBo>) findPage("findUserOwnerAchievementListByPage",
|
|
|
"findUserOwnerAchievementCount",params,
|