This commit is contained in:
parent
ed17efccbd
commit
abeda256ea
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue