|
|
|
@ -1192,6 +1192,17 @@ ADD COLUMN `company_type` tinyint(1) UNSIGNED NOT NULL DEFAULT 1 COMMENT '工
|
|
|
|
|
ALTER TABLE `tab_withdraw`
|
|
|
|
|
ADD COLUMN `review_type` tinyint(3) NOT NULL DEFAULT 1 COMMENT '审核模式:1-人工审核 2-自动审核';
|
|
|
|
|
|
|
|
|
|
--2020-02-11 chenzhi 推广公司录入主体信息增加--
|
|
|
|
|
ALTER TABLE `tab_promote_company`
|
|
|
|
|
ADD COLUMN `platform_name` VARCHAR(60) NOT NULL DEFAULT '' COMMENT '平台名称' AFTER `bank_address`,
|
|
|
|
|
ADD COLUMN `contact_begin` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '合同开始时间' AFTER `platform_name`,
|
|
|
|
|
ADD COLUMN `contact_end` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '合同结束时间' AFTER `contact_begin`,
|
|
|
|
|
ADD COLUMN `fax_ratio` VARCHAR(20) NOT NULL DEFAULT '0' COMMENT '开票税率' AFTER `contact_end`,
|
|
|
|
|
ADD COLUMN `company_type` tinyint(3) NOT NULL DEFAULT 1 COMMENT '公司性质:1-公司 2-个人' AFTER `fax_ratio`,
|
|
|
|
|
ADD COLUMN `is_sign_contact` tinyint(3) NOT NULL DEFAULT 0 COMMENT '是否签署合同:0-未签署 1-签署' AFTER `company_type`,
|
|
|
|
|
ADD COLUMN `company_belong` tinyint(1) UNSIGNED NOT NULL DEFAULT 3 COMMENT '工会归属:0-内团;1-外团 2-分发联盟 3 无' AFTER `is_sign_contact`,
|
|
|
|
|
ADD COLUMN `resources` VARCHAR(2000) NULL DEFAULT '' COMMENT '文档' AFTER `company_belong`;
|
|
|
|
|
|
|
|
|
|
-- 2020-02-12 zyx 推广提现--新增审核模式
|
|
|
|
|
ALTER TABLE `tab_statement`
|
|
|
|
|
MODIFY COLUMN `ext_field` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '扩展字段,如果是下游为提现单号' AFTER `pay_type`;
|
|
|
|
@ -1227,13 +1238,20 @@ ALTER TABLE tab_partner
|
|
|
|
|
ADD COLUMN `company_type` TINYINT (3) NOT NULL DEFAULT '1' COMMENT '公司性质:1-公司 2-个人';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--2020-02-11 chenzhi 推广公司录入主体信息增加--
|
|
|
|
|
ALTER TABLE `tab_promote_company`
|
|
|
|
|
ADD COLUMN `platform_name` VARCHAR(60) NOT NULL DEFAULT '' COMMENT '平台名称' AFTER `bank_address`,
|
|
|
|
|
ADD COLUMN `contact_begin` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '合同开始时间' AFTER `platform_name`,
|
|
|
|
|
ADD COLUMN `contact_end` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '合同结束时间' AFTER `contact_begin`,
|
|
|
|
|
ADD COLUMN `fax_ratio` VARCHAR(20) NOT NULL DEFAULT '0' COMMENT '开票税率' AFTER `contact_end`,
|
|
|
|
|
ADD COLUMN `company_type` tinyint(3) NOT NULL DEFAULT 1 COMMENT '公司性质:1-公司 2-个人' AFTER `fax_ratio`,
|
|
|
|
|
ADD COLUMN `is_sign_contact` tinyint(3) NOT NULL DEFAULT 0 COMMENT '是否签署合同:0-未签署 1-签署' AFTER `company_type`,
|
|
|
|
|
ADD COLUMN `company_belong` tinyint(1) UNSIGNED NOT NULL DEFAULT 3 COMMENT '工会归属:0-内团;1-外团 2-分发联盟 3 无' AFTER `is_sign_contact`,
|
|
|
|
|
ADD COLUMN `resources` VARCHAR(2000) NULL DEFAULT '' COMMENT '文档' AFTER `company_belong`;
|
|
|
|
|
-- 添加测试订单录入表 郑昌隆 2020-02-12
|
|
|
|
|
CREATE TABLE `tab_test_order` (
|
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`order_type` tinyint(2) DEFAULT '0' COMMENT '0-未知,1-sdk充值,2-平台币充值,3-超级签充值',
|
|
|
|
|
`server_type` tinyint(2) DEFAULT '1' COMMENT '1-测试内网 2-测试外网',
|
|
|
|
|
`order_no` varchar(256) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '平台充值订单号',
|
|
|
|
|
`cp_order_no` varchar(256) COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'CP订单号',
|
|
|
|
|
`user_account` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户账号',
|
|
|
|
|
`game_id` int(11) DEFAULT '0' COMMENT '游戏ID',
|
|
|
|
|
`game_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '游戏名称',
|
|
|
|
|
`order_amount` decimal(10,2) DEFAULT NULL COMMENT '订单金额',
|
|
|
|
|
`pay_amount` decimal(10,2) DEFAULT NULL COMMENT '支付金额',
|
|
|
|
|
`pay_time` int(11) DEFAULT '0' COMMENT '交易时间',
|
|
|
|
|
`pay_way` int(11) DEFAULT NULL COMMENT '-1绑币,0平台币,1支付宝,2微信,7金猪,9双乾支付-支付宝,10双乾支付-银联,15双乾支付-快捷',
|
|
|
|
|
`add_time` int(11) DEFAULT '0' COMMENT '添加时间',
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
|
|
|
|
|