Commit 9dee4d9b5609261a1dbccb6d1ba902d4f505b22d
1 parent
624f7cbe
Exists in
master
and in
7 other branches
V6 - correção na junção de tabelas no sistema de metadados estatísticos
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
ferramentas/metaestat/analise.php
... | ... | @@ -721,8 +721,10 @@ function juntaMedidasVariaveis($map_file,$layerNames,$nome,$colunascalc,$formula |
721 | 721 | $n = count($sqls); |
722 | 722 | |
723 | 723 | $cwhere = array(); |
724 | + //$colunasWhere = array(); | |
724 | 725 | for($i=1;$i<$n;$i++){ |
725 | - $cwhere[] = "tabela0.".$colunasIdentificador[0]."::text = "."tabela".$i.".".$colunasIdentificador[$i]."::text"; | |
726 | + $cwhere[] = "tabela0.".$gid."::text = "."tabela".$i.".".$gid."::text"; | |
727 | + //$colunasWhere[] = | |
726 | 728 | } |
727 | 729 | $colunasDados = array(); |
728 | 730 | $itens = array($gid,"regiao"); | ... | ... |