From 0ab7b1439b0bdf74f4cbf9127716720b16ce495c Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 14 Oct 2022 20:07:07 +0800 Subject: [PATCH] fix bug --- .../hiforce/lattice/runtime/ability/BaseLatticeAbility.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lattice-runtime/src/main/java/org/hiforce/lattice/runtime/ability/BaseLatticeAbility.java b/lattice-runtime/src/main/java/org/hiforce/lattice/runtime/ability/BaseLatticeAbility.java index 093b0037..27273435 100644 --- a/lattice-runtime/src/main/java/org/hiforce/lattice/runtime/ability/BaseLatticeAbility.java +++ b/lattice-runtime/src/main/java/org/hiforce/lattice/runtime/ability/BaseLatticeAbility.java @@ -98,7 +98,6 @@ public R reduceExecute(ExtensionCallback callback, @NotNu if (!Lattice.getInstance().isInitialized()) { throw new LatticeRuntimeException("LATTICE-CORE-RT-0023"); } - enrichAbilityInvokeContext(callback); String extCode = getContext().getExtCode(); return reduceExecute(extCode, callback, reducer); } @@ -193,10 +192,6 @@ public final ExecuteResult reduceExecuteWithDetailResult( @SuppressWarnings("all") private void enrichAbilityInvokeContext(ExtensionCallback callback) { -// if (null != this.getContext().getExtMethod() && -// null != this.getContext().getInvokeParams()) { -// return; -// } BusinessExt businessExt = this.getDefaultRealization(); List extParams = Lists.newArrayList(); Enhancer enhancer = new Enhancer();