1 ; ConfiguraciĆ³n de la base de datos.
6 obtener_datos_permiso = "SELECT p.id_permiso, p.desc_permiso, p.responsable FROM samurai.permiso as p "
7 obtener_datos_permiso2 = "WHERE p.id_permiso = ? "
8 obtener_datos_permiso5 = " ORDER BY p.desc_permiso "
9 obtener_datos_permiso3 = ",samurai.perm_sist as ps WHERE ps.id_sistema = ? AND ps.id_permiso = p.id_permiso "
10 obtener_datos_permiso4 = ",samurai.perm_sist as ps WHERE ps.id_permiso = p.id_permiso "
11 borrar_permiso = "DELETE FROM samurai.permiso WHERE id_permiso = ?"
12 verificar_asociaciones1 = "SELECT IF(0,0,count(*)) as cuenta FROM samurai.perm_sist as p "
13 verificar_asociaciones2 = "SELECT IF(0,0,count(*)) as cuenta FROM samurai.perm_perfil_sist as p "