X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/5664c266997bb4bf5b7c6825bac2b29f5b41d7d4..325ae567c29fec68d2be78712b3d85b2dc41a9e8:/lib/SAMURAI/Perfil/consultas.ini diff --git a/lib/SAMURAI/Perfil/consultas.ini b/lib/SAMURAI/Perfil/consultas.ini index 7e28e3a..4d698e4 100644 --- a/lib/SAMURAI/Perfil/consultas.ini +++ b/lib/SAMURAI/Perfil/consultas.ini @@ -8,6 +8,8 @@ obtener_id_perfiles = " SELECT ps.id_perfil FROM samurai.perfil_sist as ps, s obtener_id_perfiles3 = " AND ps.id_sistema = ? " obtener_id_perfiles2 = " AND p.desc_perfil like '%##FILTRO##%'" obtener_id_perfiles4 = " ORDER BY p.desc_perfil" +obtener_id_perfiles5 = " SELECT p.id_perfil FROM samurai.prefil as p " +obtener_id_perfiles6 = " WHERE p.desc_perfil like '%##FILTRO##%'" borrar_perfil = " DELETE FROM samurai.perfil as p " obtener_permisos = " SELECT id_permiso, observaciones FROM samurai.perm_perfil_sist WHERE id_perfil = ? AND id_sistema = ?"