Skip to content

Commit

Permalink
feat(v_views): replace references to v_tables with references to v_ed…
Browse files Browse the repository at this point in the history
…it_tables
  • Loading branch information
mguzman14 committed Aug 2, 2024
1 parent 3291f45 commit 9d501bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions utils/fct/gw_fct_getwidgetvalues.sql
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ BEGIN

ELSIF v_featuretype ='ARC' THEN

SELECT * INTO v_noderecord1 FROM v_node WHERE node_id=v_node_1;
SELECT * INTO v_noderecord1 FROM v_edit_node WHERE node_id=v_node_1;
v_max1 = v_noderecord1.sys_ymax;
IF v_max1 IS NULL THEN v_max1 = 999; END IF;


SELECT * INTO v_noderecord2 FROM v_node WHERE node_id=v_node_2;
SELECT * INTO v_noderecord2 FROM v_edit_node WHERE node_id=v_node_2;
v_max2 = v_noderecord2.sys_ymax;
IF v_max2 IS NULL THEN v_max2 = 999; END IF;

Expand Down
4 changes: 2 additions & 2 deletions ws/ftrg/ws_gw_trg_topocontrol_node.sql
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ BEGIN
FOR arcrec IN EXECUTE v_querytext
LOOP
-- Initial and final node of the arc
SELECT * INTO nodeRecord1 FROM v_node WHERE v_node.node_id = arcrec.node_1;
SELECT * INTO nodeRecord2 FROM v_node WHERE v_node.node_id = arcrec.node_2;
SELECT * INTO nodeRecord1 FROM v_edit_node WHERE node_id = arcrec.node_1;
SELECT * INTO nodeRecord2 FROM v_edit_node WHERE node_id = arcrec.node_2;

-- Control de lineas de longitud 0
IF (nodeRecord1.node_id IS NOT NULL) AND (nodeRecord2.node_id IS NOT NULL) THEN
Expand Down

0 comments on commit 9d501bd

Please sign in to comment.