|
|
@@ -124,18 +124,18 @@ public class SynProjectCollectionTask { |
|
|
|
ProjectListReq req = new ProjectListReq(); |
|
|
|
req.setPageNumber(1); |
|
|
|
req.setPageSize(BizConst.MAX_EXPORT_COUNT); |
|
|
|
List<GovBizProjectApprove> projects = approveService.list(Wrappers.lambdaQuery(GovBizProjectApprove.class) |
|
|
|
.eq(GovBizProjectApprove::getDeleted,Boolean.FALSE) |
|
|
|
.eq(StringUtils.isNotBlank(projId),GovBizProjectApprove::getBaseProjId,projId) |
|
|
|
.isNotNull(GovBizProjectApprove::getBaseReviewCommentsFile) |
|
|
|
.isNull(GovBizProjectApprove::getBaseReviewCommentsFilePdf)); |
|
|
|
List<GovBizProjectApply> projects = applyService.list(Wrappers.lambdaQuery(GovBizProjectApply.class) |
|
|
|
.eq(GovBizProjectApply::getDeleted,Boolean.FALSE) |
|
|
|
.eq(StringUtils.isNotBlank(projId),GovBizProjectApply::getBaseProjId,projId) |
|
|
|
.isNotNull(GovBizProjectApply::getBaseProjBasisFile) |
|
|
|
.isNull(GovBizProjectApply::getBaseProjBasisFilePdf)); |
|
|
|
|
|
|
|
if(CollUtil.isEmpty(projects)){ |
|
|
|
log.info("没有项目归集 任务终止"); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
for(GovBizProjectApprove project : projects){ |
|
|
|
for(GovBizProjectApply project : projects){ |
|
|
|
//开始转换PDF |
|
|
|
convertPdfVo(project.getBaseProjId()); |
|
|
|
} |
|
|
|