From c8df15c5d52874b0cb1b53e27091ce1cc4cd6634 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sat, 25 Sep 2021 10:51:32 +0800
Subject: [PATCH] add overtime job

---
 sql/xc_mall.sql |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/sql/xc_mall.sql b/sql/xc_mall.sql
index 5f99d0f..18d4da2 100644
--- a/sql/xc_mall.sql
+++ b/sql/xc_mall.sql
@@ -276,3 +276,32 @@
     PRIMARY KEY (ID)
 )  COMMENT = '退款操作明细';
 
+alter table mall_order_refund add type int null comment '1-仅退款不退货2-退款退货';
+alter table mall_order_refund add before_status int null comment '订单退款前状态';
+alter table mall_order_refund add refund_time datetime null comment '退款时间';
+
+DROP TABLE IF EXISTS mall_order_refund_address;
+CREATE TABLE mall_order_refund_address(
+  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 '主键' ,
+  name VARCHAR(32)    COMMENT '联系人' ,
+  phone VARCHAR(32)    COMMENT '联系电话' ,
+  address TEXT    COMMENT '地址' ,
+  PRIMARY KEY (ID)
+)  COMMENT = '退货地址管理';
+
+alter table mall_order_refund add name varchar(32) null comment '联系人';
+alter table mall_order_refund add phone varchar(32) null comment '联系电话';
+alter table mall_order_refund add address text null comment '地址';
+
+alter table mall_money_flow add rt_member_id bigint null comment '返利用户ID';
+alter table mall_money_flow add status int null comment '提现状态 1-提现中2-成功3-拒绝';
+
+alter table mall_order_info add pay_image varchar(1000) null comment '支付凭证';
+
+
+

--
Gitblit v1.9.1