|
|
@@ -51,7 +51,7 @@ public class ComponentServiceImpl implements ComponentService { |
|
|
throw new RuntimeException("组件不存在"); |
|
|
throw new RuntimeException("组件不存在"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return this.componentDao.queryById(id); |
|
|
|
|
|
|
|
|
return component; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
@@ -149,6 +149,7 @@ public class ComponentServiceImpl implements ComponentService { |
|
|
|
|
|
|
|
|
String inParameters= gson.toJson(componentVo.getInParameters(), LinkedHashMap.class); |
|
|
String inParameters= gson.toJson(componentVo.getInParameters(), LinkedHashMap.class); |
|
|
String outParameters = gson.toJson(componentVo.getOutParameters(), LinkedHashMap.class); |
|
|
String outParameters = gson.toJson(componentVo.getOutParameters(), LinkedHashMap.class); |
|
|
|
|
|
|
|
|
String envVariable = gson.toJson(componentVo.getEnvVirables(), LinkedHashMap.class); |
|
|
String envVariable = gson.toJson(componentVo.getEnvVirables(), LinkedHashMap.class); |
|
|
component.setEnvVirables(envVariable); |
|
|
component.setEnvVirables(envVariable); |
|
|
component.setInParameters(inParameters); |
|
|
component.setInParameters(inParameters); |
|
|
|