CREATE TABLE `cai_anchor_banner`
(
    `id`          bigint unsigned NOT NULL AUTO_INCREMENT,
    `user_id`     bigint          NOT NULL COMMENT '用户ID',
    `anchor_id`   bigint          NOT NULL COMMENT '主播ID',
    `open_status` tinyint         not null default 1 comment '开启状态',
    `create_time` datetime        NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB COMMENT '主播首页推荐';

-- 菜单 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, create_by, create_time, update_by, update_time, remark)
values(1809856380386619394, '主播首页推荐', '1738072642014617602', '1', 'anchorBanner', 'cai/anchorBanner/index', 1, 0, 'C', '0', '0', 'cai:anchorBanner:list', '#', '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, create_by, create_time, update_by, update_time, remark)
values(1809856380386619395, '主播首页推荐查询', 1809856380386619394, '1',  '#', '', 1, 0, 'F', '0', '0', 'cai:anchorBanner:query', '#', '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(1809856380386619396, '主播首页推荐新增', 1809856380386619394, '2',  '#', '', 1, 0, 'F', '0', '0', 'cai:anchorBanner:add',  '#', '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(1809856380386619397, '主播首页推荐修改', 1809856380386619394, '3',  '#', '', 1, 0, 'F', '0', '0', 'cai:anchorBanner:edit',         '#', '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(1809856380386619398, '主播首页推荐删除', 1809856380386619394, '4',  '#', '', 1, 0, 'F', '0', '0', 'cai:anchorBanner:remove',       '#', 'admin', sysdate(), '', null, '');

