From 5891fbcb6a2cb662c24c379e6368f13293e6b0c2 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 22 Sep 2021 18:36:23 +0800 Subject: [PATCH] fix --- sql/xc_mall.sql | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/sql/xc_mall.sql b/sql/xc_mall.sql index 51a5b35..89585f9 100644 --- a/sql/xc_mall.sql +++ b/sql/xc_mall.sql @@ -206,3 +206,40 @@ remark TEXT COMMENT '备注' , PRIMARY KEY (ID) ) COMMENT = '资金流水'; +alter table mall_order_info add del_flag int default 2 null comment '1-已删除2-未删除' after latitude; +alter table mall_order_info add pay_order_no varchar(500) null comment '支付订单号' after pay_method; +alter table mall_order_info add pay_result int null comment '支付结果 1-成功2-未成功' after pay_order_no; + +alter table mall_member add trade_password varchar(500) null comment '支付密码' after password; + +DROP TABLE IF EXISTS mall_member_wallet; +CREATE TABLE mall_member_wallet( + REVISION INT COMMENT '乐观锁' , + CREATED_BY VARCHAR(32) COMMENT '创建人' , + CREATED_TIME DATETIME COMMENT '创建时间' , + UPDATED_BY VARCHAR(32) COMMENT '更新人' , + UPDATED_TIME DATETIME COMMENT '更新时间' , + ID BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键' , + balance DECIMAL(20,2) COMMENT '余额' , + member_id bigint null comment '用户ID', + PRIMARY KEY (ID) +) COMMENT = '用户钱包'; +alter table mall_order_item add sku_image varchar(1000) null comment 'sku图片' after sku_name; + +DROP TABLE IF EXISTS mall_express_info; +CREATE TABLE mall_express_info( + REVISION INT COMMENT '乐观锁' , + CREATED_BY VARCHAR(32) COMMENT '创建人' , + CREATED_TIME DATETIME COMMENT '创建时间' , + UPDATED_BY VARCHAR(32) COMMENT '更新人' , + UPDATED_TIME DATETIME COMMENT '更新时间' , + ID BIGINT NOT NULL AUTO_INCREMENT COMMENT '主键' , + order_id BIGINT COMMENT '订单ID' , + member_id BIGINT COMMENT '用户ID' , + express_no VARCHAR(255) COMMENT '物流单号' , + express_com VARCHAR(255) COMMENT '物流公司' , + PRIMARY KEY (ID) +) COMMENT = '物流信息表'; + +alter table mall_order_info add receiving_time datetime null comment '收货时间'; + -- Gitblit v1.9.1