SDF01 executor statement executed update

This commit is contained in:
ialbert 2023-05-26 18:57:38 +03:00
parent 381afbfc29
commit c0c8bd3056

View file

@ -161,9 +161,9 @@ public class Sdf01Executor extends AbstractExecutor<SDf01> {
registryImdg.insert(rgs);
}
//todo
//1. stmt.setOperationStatus в зависимости от diffBalance = 0
//2. отправить notification на backend
stmt.setOperationStatus(OperationStatus.Executed.getKey());
statementImdg.update(stmt);
} else {
stmt.setErrorCodeId(err.get().getSubject().getId()); // fixme ErrorText insert
stmt.setOperationStatus(OperationStatus.Rejected.getKey());