mirror of
https://gitee.com/crm8000/PSI
synced 2024-11-23 00:42:21 +00:00
数据库文档
This commit is contained in:
parent
2fcd263d7c
commit
5eb3aa6c04
@ -58,3 +58,18 @@ INSERT INTO `t_permission_plus` (`id`, `fid`, `name`, `note`, `category`, `py`,
|
||||
('ct20241008104509-edit-dataorg', 'ct20241008104509-edit-dataorg', '凭证字 - 按钮权限 - 修改数据域', '凭证字模块中按钮[修改数据域]的启用权限', '凭证字', '', 208, 'ct20241008104509'),
|
||||
('ct20241008104509-edit-py', 'ct20241008104509-edit-py', '凭证字 - 按钮权限 - 修改助记码', '凭证字模块中按钮[修改助记码]的启用权限', '凭证字', '', 209, 'ct20241008104509'),
|
||||
('ct20241008104509-dataorg', 'ct20241008104509-dataorg', '凭证字 - 数据域权限 - 凭证字在业务单据中的使用权限', '凭证字在业务单据中的使用权限', '凭证字', '', 300, 'ct20241008104509');
|
||||
|
||||
|
||||
# 凭证字 - 菜单项
|
||||
DELETE FROM t_menu_item_plus where id = '7BFE527C-851F-11EF-8872-E86A641ED142';
|
||||
INSERT INTO t_menu_item_plus(id, caption, fid, parent_id, show_order, py, memo, sys_category)
|
||||
VALUES ('7BFE527C-851F-11EF-8872-E86A641ED142', '凭证字', 'ct20241008104509', '1101', 1000, 'PZZ', '', 1);
|
||||
|
||||
# 默认角色的权限项
|
||||
TRUNCATE TABLE `t_role_permission`;
|
||||
INSERT INTO `t_role_permission` (`role_id`, `permission_id`)
|
||||
select 'A83F617E-A153-11E4-A9B8-782BCBD7746B' as role_id, fid as permission_id
|
||||
from t_permission;
|
||||
INSERT INTO `t_role_permission` (`role_id`, `permission_id`)
|
||||
select 'A83F617E-A153-11E4-A9B8-782BCBD7746B' as role_id, fid as permission_id
|
||||
from t_permission_plus;
|
||||
|
Loading…
Reference in New Issue
Block a user