create table sys_dict_type
(
    dict_id     bigint                        not null comment '字典主键'
        primary key,
    tenant_id   varchar(20)  default '000000' null comment '租户编号',
    dict_name   varchar(100) default ''       null comment '字典名称',
    dict_type   varchar(100) default ''       null comment '字典类型',
    create_dept bigint                        null comment '创建部门',
    create_by   bigint                        null comment '创建者',
    create_time datetime                      null comment '创建时间',
    update_by   bigint                        null comment '更新者',
    update_time datetime                      null comment '更新时间',
    remark      varchar(500)                  null comment '备注',
    constraint tenant_id
        unique (tenant_id, dict_type)
)
    comment '字典类型表';

INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1, '000000', '用户性别', 'sys_user_sex', 103, 1, '2025-08-23 21:51:26', null, null, '用户性别列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (2, '000000', '菜单状态', 'sys_show_hide', 103, 1, '2025-08-23 21:51:26', null, null, '菜单状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (3, '000000', '系统开关', 'sys_normal_disable', 103, 1, '2025-08-23 21:51:26', null, null, '系统开关列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (6, '000000', '系统是否', 'sys_yes_no', 103, 1, '2025-08-23 21:51:26', null, null, '系统是否列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (7, '000000', '通知类型', 'sys_notice_type', 103, 1, '2025-08-23 21:51:26', null, null, '通知类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (8, '000000', '通知状态', 'sys_notice_status', 103, 1, '2025-08-23 21:51:26', null, null, '通知状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (9, '000000', '操作类型', 'sys_oper_type', 103, 1, '2025-08-23 21:51:26', null, null, '操作类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (10, '000000', '系统状态', 'sys_common_status', 103, 1, '2025-08-23 21:51:26', null, null, '登录状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (11, '000000', '授权类型', 'sys_grant_type', 103, 1, '2025-08-23 21:51:26', null, null, '认证授权类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (12, '000000', '设备类型', 'sys_device_type', 103, 1, '2025-08-23 21:51:26', null, null, '客户端设备类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (13, '000000', '业务状态', 'wf_business_status', 103, 1, '2025-08-23 21:52:12', null, null, '业务状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (14, '000000', '表单类型', 'wf_form_type', 103, 1, '2025-08-23 21:52:12', null, null, '表单类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (15, '000000', '任务状态', 'wf_task_status', 103, 1, '2025-08-23 21:52:12', null, null, '任务状态');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836424626178, '889144', '用户性别', 'sys_user_sex', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '用户性别列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836424626179, '889144', '菜单状态', 'sys_show_hide', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '菜单状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836428820481, '889144', '系统开关', 'sys_normal_disable', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '系统开关列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836428820482, '889144', '系统是否', 'sys_yes_no', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '系统是否列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836433014786, '889144', '通知类型', 'sys_notice_type', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '通知类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836433014787, '889144', '通知状态', 'sys_notice_status', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '通知状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836433014788, '889144', '操作类型', 'sys_oper_type', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '操作类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836437209090, '889144', '系统状态', 'sys_common_status', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '登录状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836437209091, '889144', '授权类型', 'sys_grant_type', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '认证授权类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836441403393, '889144', '设备类型', 'sys_device_type', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '客户端设备类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836441403394, '889144', '业务状态', 'wf_business_status', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '业务状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836441403395, '889144', '表单类型', 'wf_form_type', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '表单类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959256836445597697, '889144', '任务状态', 'wf_task_status', 103, 1, '2025-08-23 22:10:06', 1, '2025-08-23 22:10:06', '任务状态');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408038019073, '841063', '系统状态', 'sys_common_status', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '登录状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408042213377, '841063', '设备类型', 'sys_device_type', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '客户端设备类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408042213378, '841063', '授权类型', 'sys_grant_type', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '认证授权类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408042213379, '841063', '系统开关', 'sys_normal_disable', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '系统开关列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408042213380, '841063', '通知状态', 'sys_notice_status', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '通知状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408046407681, '841063', '通知类型', 'sys_notice_type', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '通知类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408046407682, '841063', '操作类型', 'sys_oper_type', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '操作类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408046407683, '841063', '菜单状态', 'sys_show_hide', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '菜单状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408046407684, '841063', '用户性别', 'sys_user_sex', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '用户性别列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408046407685, '841063', '系统是否', 'sys_yes_no', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '系统是否列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408050601985, '841063', '业务状态', 'wf_business_status', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '业务状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408050601986, '841063', '表单类型', 'wf_form_type', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '表单类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1959976408050601987, '841063', '任务状态', 'wf_task_status', 103, 1, '2025-08-25 21:49:25', 1, '2025-08-25 21:49:25', '任务状态');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478184034305, '938163', '系统状态', 'sys_common_status', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '登录状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478184034306, '938163', '设备类型', 'sys_device_type', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '客户端设备类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478188228610, '938163', '授权类型', 'sys_grant_type', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '认证授权类型');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478188228611, '938163', '系统开关', 'sys_normal_disable', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '系统开关列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478188228612, '938163', '通知状态', 'sys_notice_status', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '通知状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478192422913, '938163', '通知类型', 'sys_notice_type', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '通知类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478192422914, '938163', '操作类型', 'sys_oper_type', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '操作类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478192422915, '938163', '菜单状态', 'sys_show_hide', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '菜单状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478196617217, '938163', '用户性别', 'sys_user_sex', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '用户性别列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478196617218, '938163', '系统是否', 'sys_yes_no', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '系统是否列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478196617219, '938163', '业务状态', 'wf_business_status', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '业务状态列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478196617220, '938163', '表单类型', 'wf_form_type', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '表单类型列表');
INSERT INTO ruoyi.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1960316478200811522, '938163', '任务状态', 'wf_task_status', 103, 1, '2025-08-26 20:20:44', 1, '2025-08-26 20:20:44', '任务状态');
