feat:角色用户权限

This commit is contained in:
2026-01-08 14:37:32 +08:00
parent faf4f23b61
commit dd64b9ad27
14 changed files with 201 additions and 19 deletions

View File

@@ -0,0 +1,9 @@
CREATE TABLE `simulation_role_permission` (
`id` bigint NOT NULL AUTO_INCREMENT,
`roleId` bigint NOT NULL COMMENT '角色id对应CID',
`permissionCode` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '菜单权限编码',
`tenantId` bigint NOT NULL DEFAULT '0' COMMENT '租户ID',
`creator` bigint NOT NULL DEFAULT '0' COMMENT '模版创建者ID',
`createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '模版创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='角色菜单权限表';

View File

@@ -0,0 +1 @@
ALTER TABLE spdm_baseline.system_form_configure MODIFY COLUMN comment mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '描述信息';