20260913231607

This commit is contained in:
oneao committed 2026-09-13 23:16:08 +08:00
1 parent f3ad727f1c
commit c31329d387
179 files changed
+10846 -2684

No files matched your search

+5 -4
View File
@@ -157,14 +157,15 @@ GO
7. 用户个性化
============================================================================ */
-- 用户模块偏好表
-- 用户模块偏好表(个人覆盖:在 s_module_schema 系统默认之上)
create table dbo.s_user_module_pref (
b_user_id varchar(50) not null, -- 用户编码
b_user_id varchar(50) not null, -- 用户编码(关联 b_user.b_id)
b_module_id varchar(50) not null, -- 模块编码
b_pref_json nvarchar(max) not null, -- 用户偏离配置 JSON
b_schema_type varchar(20) not null, -- view / edit / query
b_schema_json nvarchar(max) not null, -- 个人覆盖 JSON(相对系统默认)
b_updated_by varchar(50) null, -- 最后修改人
b_updated_at datetime2 null, -- 最后修改时间
primary key (b_user_id, b_module_id)
primary key (b_user_id, b_module_id, b_schema_type)
);
GO