|
|
@ -60,6 +60,9 @@ public class JumpRouteJoinStrategy { |
|
|
|
JSONObject pathObject = JSONObject.parseObject(function.getPath()); |
|
|
|
JSONObject pathObject = JSONObject.parseObject(function.getPath()); |
|
|
|
R<StationEntity> stationR = stationClient.getStationByCode(params.get("projectId")); |
|
|
|
R<StationEntity> stationR = stationClient.getStationByCode(params.get("projectId")); |
|
|
|
extraVO.setLabel(Optional.ofNullable(stationR).filter(r -> r.isSuccess()).map(R::getData).map(StationEntity::getName).orElse("") + "_" + params.get("name")); |
|
|
|
extraVO.setLabel(Optional.ofNullable(stationR).filter(r -> r.isSuccess()).map(R::getData).map(StationEntity::getName).orElse("") + "_" + params.get("name")); |
|
|
|
|
|
|
|
Map<String,Object> extraParams = new HashMap<>(1); |
|
|
|
|
|
|
|
extraParams.put("picResource",picResource); |
|
|
|
|
|
|
|
extraVO.setParams(extraParams); |
|
|
|
// 云组态
|
|
|
|
// 云组态
|
|
|
|
if(picResource == 0) { |
|
|
|
if(picResource == 0) { |
|
|
|
String scada = pathObject.getString("scada"); |
|
|
|
String scada = pathObject.getString("scada"); |
|
|
|