bug修复

pro
wj 2 years ago
parent a90aed66fc
commit 2ed04f6c42

@ -285,10 +285,10 @@ public class SpsSyncDownloadService {
.updateTime(cn.hutool.core.date.DateUtil.date()) .updateTime(cn.hutool.core.date.DateUtil.date())
.startTime(now) .startTime(now)
.build(); .build();
basicExportService.save(exportStatus);
if (syncTime != null) { if (syncTime != null) {
createFileMethod.apply(applicationContext.getBean(this.getClass())); createFileMethod.apply(applicationContext.getBean(this.getClass()));
} }
basicExportService.save(exportStatus);
} else if (exportStatus.getStatus().equals(BasicExportStatusEnum.WAIT_BUILT.getCode())) {//文件待生成 } else if (exportStatus.getStatus().equals(BasicExportStatusEnum.WAIT_BUILT.getCode())) {//文件待生成
createFileMethod.apply(applicationContext.getBean(this.getClass())); createFileMethod.apply(applicationContext.getBean(this.getClass()));
} }

Loading…
Cancel
Save