Commit 00a9fc99 by 陶光胜

报表中心

parent 352d934d
......@@ -85,7 +85,7 @@ public class DownloadReportApiServiceImpl implements DownloadReportApiService {
log.info("报告超时:{}", next);
//超过十分钟 如果报告还在生成中则设置为失败
TabDownloadReport report = downloadReportService.getById((Integer) next);
if(report != null && !report.getStatus().equals(DownloadReportStatusEnum.GENERATED.getCode()) && report.getAuditResult().equals(DownloadReportStatusEnum.PASS)){
if(report != null && !report.getStatus().equals(DownloadReportStatusEnum.GENERATED.getCode()) && report.getAuditResult().equals(DownloadReportStatusEnum.PASS.getCode())){
downloadReportService.updateDownloadStatus((Integer)next, DownloadReportStatusEnum.ERROR);
}
map.remove(next);
......
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