|
|
|
@ -59,7 +59,7 @@ public class JumpRouteJoinStrategy {
|
|
|
|
|
Integer picResource = Integer.valueOf(params.get("picResource")); |
|
|
|
|
JSONObject pathObject = JSONObject.parseObject(function.getPath()); |
|
|
|
|
R<StationEntity> stationR = stationClient.getStationByCode(params.get("projectId")); |
|
|
|
|
extraVO.setLabel(Optional.ofNullable(stationR).filter(r -> r.isSuccess()).map(R::getData).map(StationEntity::getName) + "_" + params.get("name")); |
|
|
|
|
extraVO.setLabel(Optional.ofNullable(stationR).filter(r -> r.isSuccess()).map(R::getData).map(StationEntity::getName).orElse("") + "_" + params.get("name")); |
|
|
|
|
// 云组态
|
|
|
|
|
if(picResource == 0) { |
|
|
|
|
String scada = pathObject.getString("scada"); |
|
|
|
|