数据库文档

This commit is contained in:
CRM8000 2024-10-08 11:03:23 +08:00
parent 2fcd263d7c
commit 5eb3aa6c04

View File

@ -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;