ialbert 2025-08-22 14:01:18 +03:00
parent 8945bd978a
commit 85d2cc5a65
5 changed files with 9 additions and 10 deletions

View file

@ -289,15 +289,14 @@ public class GatewayService extends QueueConsumer implements InitializingBean {
case KS_REP_CASH_REGISTER_SUMS -> paramName = "ks_rep_cash_register_sums";
case KS_REP_DEPO_REGISTERS -> paramName = "ks_rep_depo_registers";
case KS_REP_DEPO_REGISTER_QUANTITIES -> paramName = "KS_REP_DEPO_REGISTER_QUANTITIES";
case KS_REP_TRADES -> paramName = "ks_rep_trades";
case KS_REP_CASH_NETTO -> paramName = "ks_rep_cash_netto";
case KS_REP_DEPO_NETTO -> paramName = "ks_rep_depo_netto";
case KS_REP_FIRM_DETAILS -> paramName = "ks_rep_firm_details";
case KS_SESSION_LIST -> paramName = "ks_session_list";
case KS_COMMISSION_TRADES -> paramName = "ks_commission_trades";
case KS_REP_LCC_TRADES_REPORT -> paramName = "ks_rep_lcc_trades";
case KS_REP_LCC_NETTO_REPORT -> paramName = "ks_rep_lcc_netto";
case KS_REP_LCC_VALUE_REPORT -> paramName = "ks_rep_lcc_value";
case KS_REP_TRADES_REPORT, KS_REP_TRADES -> paramName = "ks_rep_trades";
case KS_REP_NETTO_REPORT -> paramName = "ks_rep_netto";
case KS_REP_VALUE_REPORT -> paramName = "ks_rep_value";
}
if (paramName != null) {
content.put(paramName, reportPart.getFileName());

View file

@ -48,7 +48,7 @@ public class KSRepLccNettoReportBuilder extends CSVReportBuilder<EmptyParams, KS
@Override
public ReportKeys getReportKey() {
return ReportKeys.KS_REP_LCC_NETTO_REPORT;
return ReportKeys.KS_REP_NETTO_REPORT;
}
@Override

View file

@ -62,7 +62,7 @@ public class KSRepLccTradesReportBuilder extends CSVReportBuilder<EmptyParams, K
@Override
public ReportKeys getReportKey() {
return ReportKeys.KS_REP_LCC_TRADES_REPORT;
return ReportKeys.KS_REP_TRADES_REPORT;
}
@Override

View file

@ -75,7 +75,7 @@ public class KSRepLccValueReportBuilder extends CSVReportBuilder<EmptyParams, KS
@Override
public ReportKeys getReportKey() {
return ReportKeys.KS_REP_LCC_VALUE_REPORT;
return ReportKeys.KS_REP_VALUE_REPORT;
}
@Override

View file

@ -18,9 +18,9 @@ public enum ReportKeys implements IEnumKey {
KS_REP_FIRM_DETAILS("KS_REP_FIRM_DETAILS"),
KS_SESSION_LIST("KS_SESSION_LIST"),
KS_COMMISSION_TRADES("KS_COMMISSION_TRADES"),
KS_REP_LCC_TRADES_REPORT("KS_REP_LCC_TRADES_REPORT"),
KS_REP_LCC_NETTO_REPORT("KS_REP_LCC_NETTO_REPORT"),
KS_REP_LCC_VALUE_REPORT("KS_REP_LCC_VALUE_REPORT"),
KS_REP_TRADES_REPORT("KS_REP_TRADES_REPORT"),
KS_REP_NETTO_REPORT("KS_REP_NETTO_REPORT"),
KS_REP_VALUE_REPORT("KS_REP_VALUE_REPORT"),
;
private final String key;