Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
f4508bfa
Commit
f4508bfa
authored
Jun 13, 2019
by
qiankunpingtai
Browse files
修改用户 角色 模块关系表按钮字段长度
parent
2adeeebc
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/jsh_erp(后续更新参考这个更新).sql
View file @
f4508bfa
...
...
@@ -1772,6 +1772,10 @@ update jsh_userbusiness set tenant_id=-1 where tenant_id is null;
-- 特别提醒:之后的sql都是在之前基础上迭代,可以对已存在的系统进行数据保留更新
-- ----------------------------
-- ----------------------------
-- 修改按钮列长度
-- ----------------------------
alter
table
jsh_userbusiness
change
BtnStr
BtnStr
varchar
(
10000
)
DEFAULT
null
COMMENT
'按钮权限'
;
-- ----------------------------
-- 多租户基础角色模板
-- ----------------------------
INSERT
INTO
jsh_role
(
Id
,
Name
,
type
,
value
,
description
,
tenant_id
,
delete_Flag
)
VALUES
(
10
,
'多租户'
,
NULL
,
NULL
,
NULL
,
-
1
,
'0'
);
...
...
@@ -1787,7 +1791,7 @@ begin
declare
_apps
varchar
(
1000
);
-- 所有应用
declare
_functions
varchar
(
10000
);
-- 所有功能
declare
_functionBtns
varchar
(
2
000
);
-- 所有功能
declare
_functionBtns
varchar
(
10
000
);
-- 所有功能
declare
_success_msg
varchar
(
50
)
default
'设置多租户角色的应用和菜单成功'
;
-- 获取应用列表
set
_apps
=
(
select
GROUP_CONCAT
(
id
separator
']['
)
from
jsh_app
where
tenant_id
=-
1
and
ifnull
(
delete_Flag
,
'0'
)
!=
'1'
);
...
...
sql/华夏ERP数据库设计汇总.xlsx
View file @
f4508bfa
No preview for this file type
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment