drop table cai_batch_add_user;
CREATE TABLE `cai_batch_add_user`
(
    `id`          bigint unsigned NOT NULL AUTO_INCREMENT,
    `add_num`     int   NOT NULL COMMENT '新增用户数',
    `gender`   tinyint default  1  NOT NULL COMMENT '1-女  2-男',
    `invite_user_code` bigint comment '邀请人code',
    `phone_prefix` varchar(100) comment '手机前缀(前7位)',
    `phone_suffix_start` int(7) comment '手机后缀起点(后4位)',
    `password_prefix` varchar(100) comment '密码前缀',
    `password_suffix_start` varchar(100) comment '密码后缀起点',
    `run_status` tinyint  NOT NULL DEFAULT 0 comment '0-未执行 1-执行中 2-执行失败 3-执行成功' COMMENT '执行状态',
    `run_fail` text comment '执行失败原因',
    `run_result` JSON comment '执行结果',
    `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `run_time` datetime COMMENT '执行时间',
    PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='批量新增用户脚本';
