etreschenkov 2026-05-21 13:51:15 +03:00
parent ed17efccbd
commit abeda256ea

View file

@ -114,7 +114,7 @@ public class Application extends MessageCracker implements quickfix.Application,
transaction.beginTransaction();
try {
if (executionReport.isSetField(ClOrdID.FIELD) && executionReport.isSetField(ExDestination.FIELD) && executionReport.isSetField(TransactTime.FIELD) && executionReport.isSetField(OrdStatus.FIELD)) {
// OrderID orderId = executionReport.getOrderID();
OrderID orderId = executionReport.getOrderID();
ExDestination exDestination = (ExDestination) executionReport.getField(new ExDestination());
TransactTime transactTime = executionReport.getTransactTime();
OrdStatus ordStatus = executionReport.getOrdStatus();
@ -136,6 +136,7 @@ public class Application extends MessageCracker implements quickfix.Application,
sOrders = new SOrders();
sOrders.setId(imdgProvider.getImdgIdGenerator().nextId());
sOrders.setOrderNum(orderNum);
sOrders.setExchangeOrderNum(orderId.getValue());
sOrders.setClassCode(exDestination.getValue());
sOrders.setTradeDate(transactTime.getValue().toLocalDate());