You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
-- 用户表增加涉密级别字段
|
|
|
|
alter table BIANMU.SYS_USER add SECRET_LEVEL integer default 0 not null;
|
|
|
|
comment on column BIANMU.SYS_USER.SECRET_LEVEL is '涉密级别';
|
|
|
|
-- 目录表增加数据密级字段
|
|
|
|
alter table BIANMU.B_DIRECTORY add SECRET_LEVEL integer default 0 not null;
|
|
|
|
comment on column BIANMU.B_DIRECTORY.SECRET_LEVEL is '数据密级';
|
|
|
|
-- 修改管理员用户的涉密级别为最高级别
|
|
|
|
UPDATE BIANMU.SYS_USER t SET t.SECRET_LEVEL = 4 WHERE t.USER_ID = 'admin';
|
|
|
|
UPDATE BIANMU.SYS_USER t SET t.SECRET_LEVEL = 4 WHERE t.USER_ID = 'sa';
|
|
|
|
-- 启用密级字段项中的内部
|
|
|
|
UPDATE BIANMU.SYS_DICT t SET t.DICT_STATE = 1 WHERE t.ID = '2';
|