change section for REPORT_KS_VALUE request
This commit is contained in:
parent
8d0985d547
commit
a7b3ac478e
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ public class GatewayService extends QueueConsumer implements InitializingBean {
|
||||||
Map<String, Object> content = new HashMap<>();
|
Map<String, Object> content = new HashMap<>();
|
||||||
reportRequest.getReports().forEach(reportPart -> makeContentByReportRequest(content, reportPart));
|
reportRequest.getReports().forEach(reportPart -> makeContentByReportRequest(content, reportPart));
|
||||||
OutboundRequest outboundRequest = OutboundRequestBuilder.builder()
|
OutboundRequest outboundRequest = OutboundRequestBuilder.builder()
|
||||||
.section(Section.FOND.getKey())
|
.section(reportType == ReportType.REPORT_KS_VALUE ? Section.CURR.getKey() : Section.FOND.getKey())
|
||||||
.type(reportType.getKey())
|
.type(reportType.getKey())
|
||||||
.clearingSystem(clearingSystemValue)
|
.clearingSystem(clearingSystemValue)
|
||||||
.content(content).build();
|
.content(content).build();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue