管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-14 ce8598cd6c6095f22bd867564c7ca7a77b3ca5bc
1
已修改3个文件
23 ■■■■ 文件已修改
data/db_fn.sql 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_tab.sql 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
说明.txt 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/db_fn.sql
@@ -152,6 +152,10 @@
alter table lf.sys_role_res add constraint idx_unique_role_res unique (roleid,resid); -- è”合唯一索引
insert into lf.sys_role_res (roleid,resid) values (1,1);
select * from lf.sys_role_res;
alter table lf.sys_role_menu_auth add constraint idx_unique_role_menu_auth unique (roleid,menu_auth_id); -- è”合唯一索引
insert into lf.sys_role_menu_auth (roleid,menu_auth_id) values (1,1);
select * from lf.sys_role_menu_auth;
----------------------------------------------------------------------------------------------------- 
select a.*,fn_uname(a.create_user) createUserName,fn_uname(a.update_user) updateUserName from lf.sys_blacklist a order by a.id;
select * from lf.sys_user a where uname like '%' and a.depid=ANY(fn_rec_array(1,'dep'));
@@ -172,9 +176,20 @@
------------------------------------------------------------
select * from lf.sys_res;
select * from lf.sys_role;
select * from lf.sys_role_res;
select * from lf.sys_role_res;`    `
select a.* from lf.sys_res a where not exists (select b.id from lf.sys_role_res b where b.resid = a.id and b.roleid = 1);
select * from lf.sys_role;
select * from lf.sys_menu;
select * from lf.sys_auth;
select * from lf.sys_menu_auth;
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;
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
----------------------------------------------------------------------------------------------------- 
data/db_tab.sql
@@ -502,7 +502,7 @@
comment on column lf.sys_menu_auth.create_time is '创建时间';
comment on column lf.sys_menu_auth.update_user is '更新人ID';
comment on column lf.sys_menu_auth.update_time is '更新时间';
--insert into lf.sys_menu_auth (menuid,authid) values (1,1);
--insert into lf.sys_menu_auth (menuid,authid) values (1,1),(1,2),(1,3),(1,4),(1,5);
select * from lf.sys_menu_auth;
----------------------------------------------------------------------------------------------------- 14.角色-菜单-权限表
˵Ã÷.txt
@@ -1,6 +1,8 @@
1.修改菜单、数据目录、单位的xls数据,编写递归查询SQL
2.登录时验证使用MD5+Salt密码
3.登录时的用户名和密码使用RSA加密、解密
4.WebSocket服务
5.资源实时监控(CPU信息+内存信息+在线用户+资源状态)
3.修改用户密码时使用MD5+Salt密码
4.解决Swagger-UI无法传递Cookie信息
@@ -8,8 +10,6 @@
7.后台服务访问添加登录验证拦截器
8.开发切面日志功能
9.数据库监控(Druid Monitor)+自动登录
10.WebSocket服务
11.资源实时监控(CPU信息+内存信息+在线用户+资源状态)
12.下载文件并设置MIME类型
13.上传文件(commons-fileupload) *
----------------------------------------------------------------------------------------------------