管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-19 a379ac818c149b682f70cf8ebc97a3979da17291
data/db_fn.sql
@@ -187,12 +187,13 @@
select * from lf.sys_role_menu_auth;
select a.*,c.name from lf.sys_menu_auth a inner join lf.sys_auth c on a.authid = c.id
where not exists (select b.id from lf.sys_role_menu_auth b where b.menu_auth_id = a.id and b.roleid = 1) and a.menuid = 1;
where not exists (select b.id from lf.sys_role_menu_auth b where b.menu_auth_id = a.id and b.roleid = 1) and a.menuid = 1 order by c.id;
select a.*,b.menuid,c.name from lf.sys_role_menu_auth a inner join lf.sys_menu_auth b on a.menu_auth_id = b.id
inner join lf.sys_auth c on b.authid = c.id where a.roleid = 1 and b.menuid = 1;
inner join lf.sys_auth c on b.authid = c.id where a.roleid = 1 and b.menuid = 1 order by c.id;
----------------------------------------------------------------------------------------------------- 
select * from lf.sys_user;
select gid,gb,name,st_astext(a.geom) from bd.dlg_agnp a;