-- ----新增
-- 菜单 SQL
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (3, '校友活动管理', 0, '0', 'amActivity', '', 1, 0, 'M', '0', '0', '', 'x-diamond-fill',
        '', '', 'admin', sysdate(), '', null, '');

insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, create_by, create_time, update_by, update_time, remark)
values (2001, '校友管理', '3', '1', 'amActivity', 'system/amActivity/index', 1, 0, 'C', '0', '0',
        'amActivity:amActivity',
        'people-fill',
        'admin',
        sysdate(), '', null, '校友菜单');

-- 按钮 SQL
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2002, '校友查询', 2001, '1', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:query', 'eye', '', '',
        'admin',
        sysdate(), '', null, '');
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2003, '校友新增', 2001, '2', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:add', 'plus-square',
        'btn btn-light-primary', 'handleCreate', 'admin', sysdate(), '', null, '');
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2004, '校友修改', 2001, '3', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:edit', 'pencil-square',
        'btn btn-light-success', 'handleUpdate@1', 'admin', sysdate(), '', null, '');
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2005, '校友删除', 2001, '4', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:remove', 'dash-square',
        'btn btn-light-danger', 'handleDelete@0', 'admin', sysdate(), '', null, '');
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2006, '校友导出', 2001, '5', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:export', 'cloud-download',
        'btn btn-light-info', 'handleExport', 'admin', sysdate(), '', null, '');
insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible,
                      status, perms, icon, btn_class, btn_script, create_by, create_time, update_by, update_time,
                      remark)
values (2007, '校友审核', 2001, '5', '#', '', 1, 0, 'F', '0', '0', 'amActivity:amActivity:audit', '',
        '', '', 'admin', sysdate(), '', null, '');


insert into sys_role_menu
values ('1', 2001);
insert into sys_role_menu
values ('1', 2002);
insert into sys_role_menu
values ('1', 2003);
insert into sys_role_menu
values ('1', 2004);
insert into sys_role_menu
values ('1', 2005);
insert into sys_role_menu
values ('1', 2006);
insert into sys_role_menu
values ('1', 2007);

insert into sys_role_menu
values ('2', 2001);
insert into sys_role_menu
values ('2', 2002);
insert into sys_role_menu
values ('2', 2003);
insert into sys_role_menu
values ('2', 2004);
insert into sys_role_menu
values ('2', 2005);
insert into sys_role_menu
values ('2', 2006);
insert into sys_role_menu
values ('2', 2007);

insert into sys_role_menu
values ('3', 2003);
insert into sys_role_menu
values ('3', 2004);

insert into sys_dict_type
values (16, '活动审核状态', 'activity_audit_status', '0', 'admin', sysdate(), '', null, '活动审核状态');
insert into sys_dict_data
values (46, 0, '申请中', '0', 'activity_audit_status', '', 'info', 'Y', '0', 'admin', sysdate(), '', null, '');
insert into sys_dict_data
values (47, 0, '报名中', '1', 'activity_audit_status', '', 'primary', 'N', '0', 'admin', sysdate(), '', null, '');
insert into sys_dict_data
values (48, 0, '未通过', '2', 'activity_audit_status', '', 'warning', 'N', '0', 'admin', sysdate(), '', null, '');
insert into sys_dict_data
values (49, 0, '已结束', '3', 'activity_audit_status', '', 'default', 'N', '0', 'admin', sysdate(), '', null, '');
