diff --git a/src/main/java/neatlogic/module/autoexec/service/AutoexecProfileServiceImpl.java b/src/main/java/neatlogic/module/autoexec/service/AutoexecProfileServiceImpl.java index 85e964515f893eabc30779005d103ce65815fcca..3d04f2835b95a2c1bd199d0610acb2fd4c473d37 100644 --- a/src/main/java/neatlogic/module/autoexec/service/AutoexecProfileServiceImpl.java +++ b/src/main/java/neatlogic/module/autoexec/service/AutoexecProfileServiceImpl.java @@ -277,6 +277,7 @@ public class AutoexecProfileServiceImpl implements AutoexecProfileService, IAuto newParamVo.setMappingMode(AutoexecProfileParamInvokeType.GLOBAL_PARAM.getValue()); newParamVo.setDefaultValue(oldParamVo.getDefaultValue()); } else if (StringUtils.equals(AutoexecProfileParamInvokeType.CONSTANT.getValue(), oldParamVo.getMappingMode())) { + newParamVo.setMappingMode(AutoexecProfileParamInvokeType.CONSTANT.getValue()); if (StringUtils.equals(AutoexecGlobalParamType.PASSWORD.getValue(), oldParamVo.getType()) && StringUtils.isNotBlank(oldParamVo.getDefaultValueStr())) { newParamVo.setDefaultValue(RC4Util.decrypt(oldParamVo.getDefaultValueStr())); } else {