|
|
|
@ -2865,4 +2865,45 @@ ADD COLUMN `game_assistant_name` varchar(50) NOT NULL DEFAULT '' COMMENT '商务
|
|
|
|
|
|
|
|
|
|
ALTER TABLE `tab_market_altogether`
|
|
|
|
|
ADD COLUMN `personnel_check` tinyint(2) NULL DEFAULT 0 COMMENT '人事确认 0 未确认 1 确认' AFTER `finance_check_detail`,
|
|
|
|
|
ADD COLUMN `personnel_check_detail` varchar(100) NULL DEFAULT '' COMMENT '人事确认详情' AFTER `personnel_check`;
|
|
|
|
|
ADD COLUMN `personnel_check_detail` varchar(100) NULL DEFAULT '' COMMENT '人事确认详情' AFTER `personnel_check`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `tab_rebate_gifts` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`base_game_id` int(11) unsigned NOT NULL COMMENT '游戏id',
|
|
|
|
|
`gift_key` varchar(150) NOT NULL COMMENT '返利KEY',
|
|
|
|
|
`gift_id` int(5) NOT NULL DEFAULT 0 COMMENT '返利ID(第三方)',
|
|
|
|
|
`game_currency` int(11) unsigned DEFAULT '0' COMMENT '返利游戏币(元宝)',
|
|
|
|
|
`gift_content` varchar(1000) NOT NULL DEFAULT '' COMMENT '返利内容',
|
|
|
|
|
`amount` int(11) unsigned DEFAULT '0' COMMENT '对比金额',
|
|
|
|
|
`type` char(1) NOT NULL COMMENT '类型',
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='游戏返利表';
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `tab_rebate_orders` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`base_game_id` int(11) unsigned NOT NULL COMMENT '游戏id',
|
|
|
|
|
`base_game_name` varchar(50) NOT NULL COMMENT '游戏名称',
|
|
|
|
|
`user_account` varchar(30) DEFAULT '' COMMENT '用户账号',
|
|
|
|
|
`server_id` varchar(30) DEFAULT '' COMMENT '区服名称',
|
|
|
|
|
`server_name` varchar(30) DEFAULT '' COMMENT '区服名称',
|
|
|
|
|
`role_name` varchar(100) DEFAULT '' COMMENT '游戏玩家昵称',
|
|
|
|
|
`role_id` varchar(50) NOT NULL DEFAULT '' COMMENT '角色ID',
|
|
|
|
|
`gift_key` varchar(150) NOT NULL COMMENT '返利KEY',
|
|
|
|
|
`gift_content` varchar(1000) NOT NULL DEFAULT '' COMMENT '返利内容',
|
|
|
|
|
`type` char(1) NOT NULL COMMENT '类型',
|
|
|
|
|
`order_number` varchar(50) NOT NULL DEFAULT '' COMMENT '返利订单(单笔返利时有值)',
|
|
|
|
|
`pay_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单金额或累计充值金额',
|
|
|
|
|
`amount` int(11) NOT NULL DEFAULT '0' COMMENT '返利档位金额',
|
|
|
|
|
`award_date` date DEFAULT NULL COMMENT '返利日期(月卡返利时有值)',
|
|
|
|
|
`award_started_at` date DEFAULT NULL COMMENT '返利开始日期(月卡返利时有值)',
|
|
|
|
|
`award_ended_at` date DEFAULT NULL COMMENT '返利结束日期(月卡返利时有值)',
|
|
|
|
|
`review_status` tinyint(1) not null DEFAULT 0 COMMENT '审核状态 0 未审核 1 审核通过 2 审核拒绝',
|
|
|
|
|
`review_time` int(11) not null DEFAULT 0 COMMENT '审核时间',
|
|
|
|
|
`reviewer_id` int(11) not null DEFAULT 0 COMMENT '审核人ID',
|
|
|
|
|
`reviewer_username` varchar(20) not null DEFAULT '' COMMENT '审核人用户名',
|
|
|
|
|
`send_status` tinyint(1) not null DEFAULT 0 COMMENT '发送状态 0 未发送 1 发送成功 2 发送异常',
|
|
|
|
|
`send_time` int(11) not null DEFAULT 0 COMMENT '发送时间',
|
|
|
|
|
`send_result` varchar(255) not null DEFAULT '' COMMENT '发送结果',
|
|
|
|
|
`create_time` int(11) NOT NULL DEFAULT 0 COMMENT '生成时间',
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='游戏返利订单表';
|