FINERACT-364

This commit is contained in:
Nazeer Hussain Shaik
2017-01-17 17:38:01 +05:30
parent 80fada22aa
commit 0173c8d05f
@@ -96,7 +96,8 @@ public class SynchronousCommandProcessingService implements CommandProcessingSer
result.getSavingsId(), result.getProductId(), result.getTransactionId());
String changesOnlyJson = null;
if (result.hasChanges()) {
boolean rollBack = (rollbackTransaction || result.isRollbackTransaction()) && !isApprovedByChecker ;
if (result.hasChanges() && !rollBack) {
changesOnlyJson = this.toApiJsonSerializer.serializeResult(result.getChanges());
commandSourceResult.updateJsonTo(changesOnlyJson);
}