2347 - Correções Geral x Placa
This commit is contained in:
@@ -169,6 +169,7 @@
|
|||||||
placa = Number(engine.getField('placa').getValue());
|
placa = Number(engine.getField('placa').getValue());
|
||||||
}
|
}
|
||||||
sql = "select fnc_geralplaca_pivot2(to_date('"+dataInicio+"','dd/MM/yyyy'),to_date('"+dataFinal+"','dd/MM/yyyy')," + placa + ",'" + clientes + "','" + frotaTerceiro + "','" + caminhaoCarreta + "') as sql_return ";
|
sql = "select fnc_geralplaca_pivot2(to_date('"+dataInicio+"','dd/MM/yyyy'),to_date('"+dataFinal+"','dd/MM/yyyy')," + placa + ",'" + clientes + "','" + frotaTerceiro + "','" + caminhaoCarreta + "') as sql_return ";
|
||||||
|
engine.debug(sql);
|
||||||
|
|
||||||
var ds = vQueryService.executeQuery('vitruvio', sql);
|
var ds = vQueryService.executeQuery('vitruvio', sql);
|
||||||
ds.next();
|
ds.next();
|
||||||
|
|||||||
Reference in New Issue
Block a user