Kaynağa Gözat

debug pdf文件格式

master
PoffyZhang 1 yıl önce
ebeveyn
işleme
da25c8a4b8
1 değiştirilmiş dosya ile 4 ekleme ve 15 silme
  1. +4
    -15
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/SynProjectCollectionTask.java

+ 4
- 15
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/SynProjectCollectionTask.java Dosyayı Görüntüle

@@ -121,23 +121,12 @@ public class SynProjectCollectionTask {
log.info("项目归集库存转换PDF任务开始=====");
StopWatch stopWatch = new StopWatch();
stopWatch.start();
ProjectListReq req = new ProjectListReq();
req.setPageNumber(1);
req.setPageSize(BizConst.MAX_EXPORT_COUNT);
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(GovBizProjectApply project : projects){
GovBizProjectBaseinfo base = baseinfoService.getOne(Wrappers.lambdaQuery(GovBizProjectBaseinfo.class)
.eq(GovBizProjectBaseinfo::getBaseProjId, projId));
if(Objects.nonNull(base)){
//开始转换PDF
convertPdfVo(project.getBaseProjId());
convertPdfVo(projId);
}

stopWatch.stop();


Yükleniyor…
İptal
Kaydet