Commit 1e182526 authored by 廖旭伟's avatar 廖旭伟

添加查询已受理事项列表接口

parent fd1e9e88
...@@ -71,10 +71,6 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even ...@@ -71,10 +71,6 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even
log.info("总页数:"+ pages); log.info("总页数:"+ pages);
if(pages > 1){ if(pages > 1){
while (currentPage < pages){ while (currentPage < pages){
try {
Thread.sleep(10000);
} catch (InterruptedException e2) {
}
currentPage++; currentPage++;
req.setCurrentPage(currentPage); req.setCurrentPage(currentPage);
log.info("当前页码:"+currentPage); log.info("当前页码:"+currentPage);
...@@ -84,7 +80,7 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even ...@@ -84,7 +80,7 @@ public class EventImplementationServiceImpl extends AbstractCRUDServiceImpl<Even
if (ObjectUtil.isEmpty(restTemp)) { if (ObjectUtil.isEmpty(restTemp)) {
throw new AppException("请求访问超时"); throw new AppException("请求访问超时");
} }
Rest<ImplementEventInfo> eventListTemp = JSON.parseObject(rest, new TypeReference<Rest<ImplementEventInfo>>() { Rest<ImplementEventInfo> eventListTemp = JSON.parseObject(restTemp, new TypeReference<Rest<ImplementEventInfo>>() {
}); });
if(eventListTemp.getCode()==ApiRespCodeEnum.SUCCESS.getValue()){ if(eventListTemp.getCode()==ApiRespCodeEnum.SUCCESS.getValue()){
List<EventImplementationEntity> listTemp = convertEventImplementation(eventListTemp.getData().getRecords()); List<EventImplementationEntity> listTemp = convertEventImplementation(eventListTemp.getData().getRecords());
......
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