|
|
|
@ -2499,4 +2499,23 @@ ADD COLUMN `work_status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '离职状态' AF
|
|
|
|
|
|
|
|
|
|
ALTER TABLE `tab_company_relation_log`
|
|
|
|
|
ADD COLUMN `first_company_info` longtext NULL COMMENT '甲方公司信息' AFTER `first_company_type`,
|
|
|
|
|
ADD COLUMN `second_company_info` longtext NULL COMMENT '乙方公司信息' AFTER `second_company_type`;
|
|
|
|
|
ADD COLUMN `second_company_info` longtext NULL COMMENT '乙方公司信息' AFTER `second_company_type`;
|
|
|
|
|
|
|
|
|
|
CREATE TABLE `tab_payment_orders` (
|
|
|
|
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
|
|
`merchant_id` int(11) NOT NULL COMMENT '商户ID',
|
|
|
|
|
`order_no` varchar(100) NOT NULL COMMENT '订单号',
|
|
|
|
|
`business_type` varchar(20) NOT NULL DEFAULT '' COMMENT '业务类型',
|
|
|
|
|
`order_amount` decimal(12, 2) not null default '0.00' comment '订单金额',
|
|
|
|
|
`fee` decimal(12, 2) not null default '0.00' comment '手续费',
|
|
|
|
|
`product_name` varchar(255) NOT NULL DEFAULT '' COMMENT '产品名称',
|
|
|
|
|
`channel_order_no` varchar(100) NOT NULL DEFAULT '' COMMENT '渠道订单号',
|
|
|
|
|
`channel_user_account` varchar(100) NOT NULL DEFAULT '' COMMENT '渠道用户',
|
|
|
|
|
`remark` varchar(255) NOT NULL DEFAULT '' COMMENT '备注',
|
|
|
|
|
`created_at` datetime NOT NULL COMMENT '订单创建时间',
|
|
|
|
|
`finished_at` datetime NOT NULL COMMENT '订单完成时间',
|
|
|
|
|
PRIMARY KEY (`id`)
|
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|