|
@@ -26,6 +26,7 @@ import org.codehaus.jettison.json.JSONObject;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.data.domain.PageRequest;
|
|
|
import org.springframework.data.domain.Pageable;
|
|
@@ -107,7 +108,7 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
private String agencyId;
|
|
|
|
|
|
@Override
|
|
|
- public Page<UserVO> renderMoreUser(Pageable pageable) {
|
|
|
+ public List<UserVO> renderMoreUser(Pageable pageable) {
|
|
|
List<UserVO> userVOS=new ArrayList<>();
|
|
|
List<RankCountInfo> rankCountInfos=taskToUserDao.findTotalCountOfUser();
|
|
|
long []ids=new long[rankCountInfos.size()];
|
|
@@ -122,8 +123,7 @@ public class WebMediatorImpl implements ViewMediator {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- Page<UserVO> Page= DataUtils.listToPage(userVOS,pageable);
|
|
|
- return Page;
|
|
|
+ return userVOS;
|
|
|
}
|
|
|
|
|
|
@Override
|