|
|
|
@ -1744,8 +1744,8 @@ CREATE TABLE `yoshop_merchant` ( |
|
|
|
|
`score` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '得分', |
|
|
|
|
`sale` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '销量', |
|
|
|
|
`is_select_mechant` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否精选商户', |
|
|
|
|
`total_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '累计金额', |
|
|
|
|
`available_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '可用金额', |
|
|
|
|
`total_amount` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '累计金额', |
|
|
|
|
`available_amount` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '可用金额', |
|
|
|
|
`commission_ratio` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '抽佣比例', |
|
|
|
|
PRIMARY KEY (`merchant_id`), |
|
|
|
|
KEY `store_id` (`store_id`) |
|
|
|
@ -1760,7 +1760,7 @@ CREATE TABLE `yoshop_merchant_pay` ( |
|
|
|
|
`is_delete` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除', |
|
|
|
|
`create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间', |
|
|
|
|
`update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', |
|
|
|
|
`total_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额', |
|
|
|
|
`total_amount` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '金额', |
|
|
|
|
`is_add` tinyint(3) UNSIGNED NOT NULL DEFAULT 1 COMMENT '是否为收入金额', |
|
|
|
|
PRIMARY KEY (`merchant_pay_id`), |
|
|
|
|
KEY `store_id` (`store_id`) |
|
|
|
|