|
|
@ -285,6 +285,7 @@ public class DefaultCoreConsumerService extends AbstractConsumerService<Transpor |
|
|
ScriptCache scriptCache = Objects.isNull(calculationId) ? null : scriptCacheService.get(String.valueOf(calculationId)); |
|
|
ScriptCache scriptCache = Objects.isNull(calculationId) ? null : scriptCacheService.get(String.valueOf(calculationId)); |
|
|
if (Objects.isNull(scriptCache)) { |
|
|
if (Objects.isNull(scriptCache)) { |
|
|
entity.setOutputMsg(inputMsg); |
|
|
entity.setOutputMsg(inputMsg); |
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
ScriptLanguage scriptLanguage = ScriptLanguage.get(scriptCache.getScriptType()); |
|
|
ScriptLanguage scriptLanguage = ScriptLanguage.get(scriptCache.getScriptType()); |
|
|
ScriptEngine scriptEngine = scriptCreateService.createScriptEngine(scriptCache.getScriptEId(), scriptLanguage, scriptCache.getScriptBody(), scriptCache.getDebug()); |
|
|
ScriptEngine scriptEngine = scriptCreateService.createScriptEngine(scriptCache.getScriptEId(), scriptLanguage, scriptCache.getScriptBody(), scriptCache.getDebug()); |
|
|
|