etreschenkov 2026-02-13 13:25:10 +03:00
parent e14f7872d9
commit f02c2eb691

View file

@ -266,8 +266,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
}
Map<File, ReportInfo> outFiles = createReportsForTask(sessionIds, reportBuildersForGREP.values());
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_TMP.getKey());
sendFilesToSftp(outFiles.keySet());
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_TMP.getKey());
} catch (Exception e) {
log.error("Unexpected exception", e);
}
@ -305,9 +305,9 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
outFilesWithReportType_PFX64.put(reportFile, reportInfo);
}
}
sendFilesToSftp(outFiles.keySet());
sendReportsToGateway(sessionIds, outFilesWithReportType_PFX64, ReportType.PFX64.getKey());
sendReportsToGateway(sessionIds, outFilesWithReportType_PFX65, ReportType.PFX65.getKey());
sendFilesToSftp(outFiles.keySet());
} catch (Exception e) {
log.error("Unexpected exception", e);
}
@ -328,8 +328,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
}
Map<File, ReportInfo> outFiles = createReportsForTask(sessionIds, reportBuildersForGREF.values());
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_FINAL.getKey());
sendFilesToSftp(outFiles.keySet());
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_FINAL.getKey());
} catch (Exception e) {
log.error("Unexpected exception", e);
}
@ -346,8 +346,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
Map<File, ReportInfo> outFiles = createReportsForTask(List.of(), reportBuildersForGREC.values());
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_OUTER.getKey());
sendFilesToSftp(outFiles.keySet());
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_OUTER.getKey());
} catch (Exception e) {
log.error("Unexpected exception", e);
}
@ -364,8 +364,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
Map<File, ReportInfo> outFiles = createReportsForTask(List.of(), reportBuildersForCX84.values());
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_VALUE_OUTER.getKey());
sendFilesToSftp(outFiles.keySet());
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_VALUE_OUTER.getKey());
} catch (Exception e) {
log.error("Unexpected exception", e);
}