|
@@ -58,7 +58,7 @@ public class CheckProvincialReviewResultTask { |
|
|
//遍历 |
|
|
//遍历 |
|
|
for(Project project: projectList){ |
|
|
for(Project project: projectList){ |
|
|
try{ |
|
|
try{ |
|
|
ApiResponse apiResponse = reviewProvincialBureauService.processInfo(String.valueOf(project.getId())); |
|
|
|
|
|
|
|
|
ApiResponse apiResponse = reviewProvincialBureauService.processInfo(project.getProjectCode()); |
|
|
log.info("项目 【{}】 去获取省局联审结果 :{}",project.getId(),apiResponse); |
|
|
log.info("项目 【{}】 去获取省局联审结果 :{}",project.getId(),apiResponse); |
|
|
if(Objects.isNull(apiResponse) || !Integer.valueOf(HttpStatus.HTTP_OK).equals(apiResponse.getCode())){ |
|
|
if(Objects.isNull(apiResponse) || !Integer.valueOf(HttpStatus.HTTP_OK).equals(apiResponse.getCode())){ |
|
|
log.info("项目 【{}】 去获取省局联审结果失败",project.getId()); |
|
|
log.info("项目 【{}】 去获取省局联审结果失败",project.getId()); |
|
|