mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	trade: 分销业务 - 佣金提现后台管理
This commit is contained in:
		| @@ -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 '佣金提现'; | ||||
		Reference in New Issue
	
	Block a user
	 owen
					owen