trade: 分销业务 - 佣金提现后台管理
This commit is contained in:
parent
32e1fc66ce
commit
e22c577f7a
@ -4,3 +4,4 @@ DELETE FROM trade_after_sale;
|
||||
DELETE FROM trade_after_sale_log;
|
||||
DELETE FROM trade_brokerage_user;
|
||||
DELETE FROM trade_brokerage_record;
|
||||
DELETE FROM "trade_brokerage_withdraw";
|
||||
|
@ -163,4 +163,29 @@ CREATE TABLE IF NOT EXISTS "trade_brokerage_record"
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
"tenant_id" bigint not null default '0',
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '佣金记录';
|
||||
) COMMENT '佣金记录';
|
||||
CREATE TABLE IF NOT EXISTS "trade_brokerage_withdraw"
|
||||
(
|
||||
"id" int NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"user_id" bigint NOT NULL,
|
||||
"price" int NOT NULL,
|
||||
"fee_price" int NOT NULL,
|
||||
"total_price" int NOT NULL,
|
||||
"type" varchar NOT NULL,
|
||||
"name" varchar,
|
||||
"account_no" varchar,
|
||||
"bank_name" varchar,
|
||||
"bank_address" varchar,
|
||||
"account_qr_code_url" varchar,
|
||||
"status" varchar NOT NULL,
|
||||
"audit_reason" varchar,
|
||||
"audit_time" varchar,
|
||||
"remark" varchar,
|
||||
"creator" varchar DEFAULT '',
|
||||
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updater" varchar DEFAULT '',
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
"tenant_id" bigint not null default '0',目
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '佣金提现';
|
Loading…
Reference in New Issue
Block a user