X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/8704893ea4164a220d44203d6c8623cd423dbb78..94983fa84d06dc5e6f99f6b570245bcf08b96a75:/sistema/local_lib/Samurai/consultas.php diff --git a/sistema/local_lib/Samurai/consultas.php b/sistema/local_lib/Samurai/consultas.php index 86f6bab..0f157fa 100644 --- a/sistema/local_lib/Samurai/consultas.php +++ b/sistema/local_lib/Samurai/consultas.php @@ -18,13 +18,10 @@ // +----------------------------------------------------------------------+ // // $Id$ -// $Author$ -// $URL$ -// $Date$ -// $Rev$ // return array ( 'obtener_id_sistemas' => 'SELECT id_sistema FROM sistema WHERE estado = 1 ORDER BY id_sistema', - 'obtener_max_id_sistemas' => 'SELECT max(id_sistema) as id_sistema FROM sistema', + 'obtener_id_permisos' => 'SELECT id_permiso FROM permiso ORDER BY id_permiso', + 'obtener_id_perfiles' => 'SELECT id_perfil FROM perfil_sist WHERE id_sistema = ? ORDER BY id_perfil', ); ?>