Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
168dc0b1
Commit
168dc0b1
authored
Oct 25, 2018
by
zhh
Browse files
bug修复
parent
7054e92c
Changes
2
Hide whitespace changes
Inline
Side-by-side
document/sql/mall.sql
View file @
168dc0b1
...
...
@@ -10,7 +10,7 @@ Target Server Type : MYSQL
Target Server Version : 50719
File Encoding : 65001
Date: 2018-10-
08 16:49:00
Date: 2018-10-
25 14:15:04
*/
SET
FOREIGN_KEY_CHECKS
=
0
;
...
...
@@ -326,15 +326,19 @@ CREATE TABLE `oms_company_address` (
`receive_status`
int
(
1
)
DEFAULT
NULL
COMMENT
'是否默认收货地址:0->否;1->是'
,
`name`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'收发货人姓名'
,
`phone`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'收货人电话'
,
`province`
varchar
(
64
)
DEFAULT
NULL
,
`city`
varchar
(
64
)
DEFAULT
NULL
,
`region`
varchar
(
64
)
DEFAULT
NULL
,
`province`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'省/直辖市'
,
`city`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'市'
,
`region`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'区'
,
`detail_address`
varchar
(
200
)
DEFAULT
NULL
COMMENT
'详细地址'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'公司收发货地址表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
4
DEFAULT
CHARSET
=
utf8
COMMENT
=
'公司收发货地址表'
;
-- ----------------------------
-- Records of oms_company_address
-- ----------------------------
INSERT
INTO
`oms_company_address`
VALUES
(
'1'
,
'深圳发货点'
,
'1'
,
'1'
,
'大梨'
,
'18000000000'
,
'广东省'
,
'深圳市'
,
'南山区'
,
'科兴科学园'
);
INSERT
INTO
`oms_company_address`
VALUES
(
'2'
,
'北京发货点'
,
'0'
,
'0'
,
'大梨'
,
'18000000000'
,
'北京市'
,
null
,
'南山区'
,
'科兴科学园'
);
INSERT
INTO
`oms_company_address`
VALUES
(
'3'
,
'南京发货点'
,
'0'
,
'0'
,
'大梨'
,
'18000000000'
,
'江苏省'
,
'南京市'
,
'南山区'
,
'科兴科学园'
);
-- ----------------------------
-- Table structure for oms_order
...
...
@@ -380,17 +384,32 @@ CREATE TABLE `oms_order` (
`confirm_status`
int
(
1
)
DEFAULT
NULL
COMMENT
'确认收货状态:0->未确认;1->已确认'
,
`delete_status`
int
(
1
)
NOT
NULL
DEFAULT
'0'
COMMENT
'删除状态:0->未删除;1->已删除'
,
`use_integration`
int
(
11
)
DEFAULT
NULL
COMMENT
'下单时使用的积分'
,
`payment_time`
datetime
DEFAULT
NULL
COMMENT
'支付时间'
,
`delivery_time`
datetime
DEFAULT
NULL
COMMENT
'发货时间'
,
`receive_time`
datetime
DEFAULT
NULL
COMMENT
'确认收货时间'
,
`comment_time`
datetime
DEFAULT
NULL
COMMENT
'评价时间'
,
`modify_time`
datetime
DEFAULT
NULL
COMMENT
'修改时间'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
7
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
2
7
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单表'
;
-- ----------------------------
-- Records of oms_order
-- ----------------------------
INSERT
INTO
`oms_order`
VALUES
(
'12'
,
'1'
,
'2'
,
null
,
'2018-09-05 12:24:27'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'1'
,
'0'
,
null
,
null
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'13'
,
'1'
,
'2'
,
null
,
'2018-09-05 14:24:29'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'1'
,
'0'
,
null
,
null
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
'1000'
);
INSERT
INTO
`oms_order`
VALUES
(
'14'
,
'1'
,
'2'
,
null
,
'2018-09-03 16:57:40'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'15'
,
'1'
,
'2'
,
null
,
'2018-09-03 17:03:00'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'16'
,
'1'
,
'2'
,
null
,
'2018-09-04 16:16:16'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'12'
,
'1'
,
'2'
,
'201809150101000001'
,
'2018-09-15 12:24:27'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
'顺丰快递'
,
'201707196398345'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
'2018-10-12 14:01:28'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'13'
,
'1'
,
'2'
,
'201809150102000002'
,
'2018-09-15 14:24:29'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'1'
,
'0'
,
'顺丰快递'
,
'xx'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
'1000'
,
null
,
'2018-10-16 14:42:17'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'14'
,
'1'
,
'2'
,
'201809130101000001'
,
'2018-09-13 16:57:40'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'2'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'15'
,
'1'
,
'2'
,
'201809130102000002'
,
'2018-09-13 17:03:00'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'3'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'16'
,
'1'
,
'2'
,
'201809140101000001'
,
'2018-09-14 16:16:16'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'17'
,
'1'
,
'2'
,
'201809150101000003'
,
'2018-09-15 12:24:27'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
'顺丰快递'
,
'201707196398345'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
'2018-10-12 14:01:28'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'18'
,
'1'
,
'2'
,
'201809150102000004'
,
'2018-09-15 14:24:29'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'1'
,
'0'
,
'圆通快递'
,
'xx'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
'1000'
,
null
,
'2018-10-16 14:42:17'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'19'
,
'1'
,
'2'
,
'201809130101000003'
,
'2018-09-13 16:57:40'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'2'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'20'
,
'1'
,
'2'
,
'201809130102000004'
,
'2018-09-13 17:03:00'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'3'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'21'
,
'1'
,
'2'
,
'201809140101000002'
,
'2018-09-14 16:16:16'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'22'
,
'1'
,
'2'
,
'201809150101000005'
,
'2018-09-15 12:24:27'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'0'
,
'1'
,
'4'
,
'0'
,
'顺丰快递'
,
'201707196398345'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
'2018-10-12 14:01:28'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'23'
,
'1'
,
'2'
,
'201809150102000006'
,
'2018-09-15 14:24:29'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'1'
,
'0'
,
'顺丰快递'
,
'xxx'
,
null
,
'0'
,
null
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
'1000'
,
null
,
'2018-10-16 14:41:28'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'24'
,
'1'
,
'2'
,
'201809130101000005'
,
'2018-09-13 16:57:40'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'2'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'25'
,
'1'
,
'2'
,
'201809130102000006'
,
'2018-09-13 17:03:00'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'1'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'0'
,
null
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order`
VALUES
(
'26'
,
'1'
,
'2'
,
'201809140101000003'
,
'2018-09-14 16:16:16'
,
'test'
,
'18732.00'
,
'16377.75'
,
'0.00'
,
'2344.25'
,
'0.00'
,
'10.00'
,
null
,
'2'
,
'1'
,
'4'
,
'0'
,
null
,
null
,
null
,
'18682'
,
'18682'
,
'单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠'
,
null
,
null
,
null
,
null
,
null
,
'大梨'
,
'18033441849'
,
'518000'
,
'广东省'
,
'深圳市'
,
'福田区'
,
'东晓街道'
,
null
,
'0'
,
'1'
,
null
,
null
,
null
,
null
,
null
,
null
);
-- ----------------------------
-- Table structure for oms_order_item
...
...
@@ -426,31 +445,31 @@ CREATE TABLE `oms_order_item` (
-- ----------------------------
-- Records of oms_order_item
-- ----------------------------
INSERT
INTO
`oms_order_item`
VALUES
(
'21'
,
'12'
,
null
,
'26'
,
null
,
'华为 HUAWEI P20'
,
null
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'22'
,
'12'
,
null
,
'27'
,
null
,
'小米8'
,
null
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'23'
,
'12'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'24'
,
'12'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'25'
,
'12'
,
null
,
'29'
,
null
,
'Apple iPhone 8 Plus'
,
null
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'26'
,
'13'
,
null
,
'26'
,
null
,
'华为 HUAWEI P20'
,
null
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'27'
,
'13'
,
null
,
'27'
,
null
,
'小米8'
,
null
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'28'
,
'13'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'29'
,
'13'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'30'
,
'13'
,
null
,
'29'
,
null
,
'Apple iPhone 8 Plus'
,
null
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'31'
,
'14'
,
null
,
'26'
,
null
,
'华为 HUAWEI P20'
,
null
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'32'
,
'14'
,
null
,
'27'
,
null
,
'小米8'
,
null
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'33'
,
'14'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'34'
,
'14'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'35'
,
'14'
,
null
,
'29'
,
null
,
'Apple iPhone 8 Plus'
,
null
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'36'
,
'15'
,
null
,
'26'
,
null
,
'华为 HUAWEI P20'
,
null
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'37'
,
'15'
,
null
,
'27'
,
null
,
'小米8'
,
null
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'38'
,
'15'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'39'
,
'15'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'40'
,
'15'
,
null
,
'29'
,
null
,
'Apple iPhone 8 Plus'
,
null
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'41'
,
'16'
,
null
,
'26'
,
null
,
'华为 HUAWEI P20'
,
null
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'42'
,
'16'
,
null
,
'27'
,
null
,
'小米8'
,
null
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'43'
,
'16'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'44'
,
'16'
,
null
,
'28'
,
null
,
'红米5A'
,
null
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'45'
,
'16'
,
null
,
'29'
,
null
,
'Apple iPhone 8 Plus'
,
null
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'21'
,
'12'
,
'201809150101000001'
,
'26'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'22'
,
'12'
,
'201809150101000001'
,
'27'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'23'
,
'12'
,
'201809150101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'24'
,
'12'
,
'201809150101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'25'
,
'12'
,
'201809150101000001'
,
'29'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg'
,
'Apple iPhone 8 Plus'
,
'苹果'
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'26'
,
'13'
,
'201809150102000002'
,
'26'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'27'
,
'13'
,
'201809150102000002'
,
'27'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'28'
,
'13'
,
'201809150102000002'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'29'
,
'13'
,
'201809150102000002'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'30'
,
'13'
,
'201809150102000002'
,
'29'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg'
,
'Apple iPhone 8 Plus'
,
'苹果'
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'31'
,
'14'
,
'201809130101000001'
,
'26'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'32'
,
'14'
,
'201809130101000001'
,
'27'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'33'
,
'14'
,
'201809130101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'34'
,
'14'
,
'201809130101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'35'
,
'14'
,
'201809130101000001'
,
'29'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg'
,
'Apple iPhone 8 Plus'
,
'苹果'
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'36'
,
'15'
,
'201809130101000001'
,
'26'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'37'
,
'15'
,
'201809130101000001'
,
'27'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'38'
,
'15'
,
'201809130101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'39'
,
'15'
,
'201809130101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'40'
,
'15'
,
'201809130101000001'
,
'29'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg'
,
'Apple iPhone 8 Plus'
,
'苹果'
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'41'
,
'16'
,
'201809140101000001'
,
'26'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
null
,
'3788.00'
,
'1'
,
'90'
,
'201806070026001'
,
'19'
,
null
,
null
,
null
,
'单品促销'
,
'200.00'
,
'2.02'
,
'0.00'
,
'3585.98'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'42'
,
'16'
,
'201809140101000001'
,
'27'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
null
,
'2699.00'
,
'3'
,
'98'
,
'201808270027001'
,
'19'
,
null
,
null
,
null
,
'打折优惠:满3件,打7.50折'
,
'674.75'
,
'1.44'
,
'0.00'
,
'2022.81'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'43'
,
'16'
,
'201809140101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'649.00'
,
'1'
,
'102'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'57.60'
,
'0.35'
,
'0.00'
,
'591.05'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'44'
,
'16'
,
'201809140101000001'
,
'28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
null
,
'699.00'
,
'1'
,
'103'
,
'201808270028001'
,
'19'
,
null
,
null
,
null
,
'满减优惠:满1000.00元,减120.00元'
,
'62.40'
,
'0.37'
,
'0.00'
,
'636.23'
,
'0'
,
'0'
);
INSERT
INTO
`oms_order_item`
VALUES
(
'45'
,
'16'
,
'201809140101000001'
,
'29'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg'
,
'Apple iPhone 8 Plus'
,
'苹果'
,
null
,
'5499.00'
,
'1'
,
'106'
,
'201808270029001'
,
'19'
,
null
,
null
,
null
,
'无优惠'
,
'0.00'
,
'2.94'
,
'0.00'
,
'5496.06'
,
'0'
,
'0'
);
-- ----------------------------
-- Table structure for oms_order_operate_history
...
...
@@ -464,11 +483,24 @@ CREATE TABLE `oms_order_operate_history` (
`order_status`
int
(
1
)
DEFAULT
NULL
COMMENT
'订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单'
,
`note`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'备注'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单操作历史记录'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
18
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单操作历史记录'
;
-- ----------------------------
-- Records of oms_order_operate_history
-- ----------------------------
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'5'
,
'12'
,
'后台管理员'
,
'2018-10-12 14:01:29'
,
'2'
,
'完成发货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'6'
,
'13'
,
'后台管理员'
,
'2018-10-12 14:01:29'
,
'2'
,
'完成发货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'7'
,
'12'
,
'后台管理员'
,
'2018-10-12 14:13:10'
,
'4'
,
'订单关闭:买家退货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'8'
,
'13'
,
'后台管理员'
,
'2018-10-12 14:13:10'
,
'4'
,
'订单关闭:买家退货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'9'
,
'22'
,
'后台管理员'
,
'2018-10-15 16:31:48'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'10'
,
'22'
,
'后台管理员'
,
'2018-10-15 16:35:08'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'11'
,
'22'
,
'后台管理员'
,
'2018-10-15 16:35:59'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'12'
,
'17'
,
'后台管理员'
,
'2018-10-15 16:43:40'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'13'
,
'25'
,
'后台管理员'
,
'2018-10-15 16:52:14'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'14'
,
'26'
,
'后台管理员'
,
'2018-10-15 16:52:14'
,
'4'
,
'订单关闭:xxx'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'15'
,
'23'
,
'后台管理员'
,
'2018-10-16 14:41:28'
,
'2'
,
'完成发货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'16'
,
'13'
,
'后台管理员'
,
'2018-10-16 14:42:17'
,
'2'
,
'完成发货'
);
INSERT
INTO
`oms_order_operate_history`
VALUES
(
'17'
,
'18'
,
'后台管理员'
,
'2018-10-16 14:42:17'
,
'2'
,
'完成发货'
);
-- ----------------------------
-- Table structure for oms_order_return_apply
...
...
@@ -477,37 +509,58 @@ DROP TABLE IF EXISTS `oms_order_return_apply`;
CREATE
TABLE
`oms_order_return_apply`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
,
`order_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'订单id'
,
`company_address_id`
bigint
(
20
)
DEFAULT
NULL
,
`company_address_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'收货地址表id'
,
`product_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'退货商品id'
,
`order_sn`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'订单编号'
,
`create_time`
datetime
DEFAULT
NULL
,
`member_username`
varchar
(
64
)
DEFAULT
NULL
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'申请时间'
,
`member_username`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'会员用户名'
,
`return_amount`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'退款金额'
,
`return_name`
varchar
(
100
)
DEFAULT
NULL
,
`return_name`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'退货人姓名'
,
`return_phone`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'退货人电话'
,
`status`
int
(
1
)
DEFAULT
NULL
COMMENT
'申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝'
,
`handle_time`
datetime
DEFAULT
NULL
COMMENT
'处理时间'
,
`product_pic`
varchar
(
500
)
DEFAULT
NULL
,
`product_name`
varchar
(
200
)
DEFAULT
NULL
,
`brand
_name
`
varchar
(
200
)
DEFAULT
NULL
,
`product_pic`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'商品图片'
,
`product_name`
varchar
(
200
)
DEFAULT
NULL
COMMENT
'商品名称'
,
`
product_
brand`
varchar
(
200
)
DEFAULT
NULL
COMMENT
'商品品牌'
,
`product_attr`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'商品销售属性:颜色:红色;尺码:xl;'
,
`product_count`
int
(
11
)
DEFAULT
NULL
COMMENT
'退货数量'
,
`product_price`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'商品单价'
,
`product_real_price`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'商品实际支付单价'
,
`reason`
varchar
(
200
)
DEFAULT
NULL
COMMENT
'原因'
,
`description`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'描述'
,
`proof_pics`
varchar
(
1000
)
DEFAULT
NULL
COMMENT
'凭证图片,以逗号隔开'
,
`return_post_amount`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'要退的邮费'
,
`return_post_status`
int
(
1
)
DEFAULT
NULL
COMMENT
'是否退邮费:0->不退;1->退'
,
`confirm_return_amount`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'确认退款总金额'
,
`handle_note`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'处理备注'
,
`handle_man`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'处理人员'
,
`receive_man`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'收货人'
,
`receive_time`
datetime
DEFAULT
NULL
,
`receive_note`
varchar
(
500
)
DEFAULT
NULL
,
`receive_time`
datetime
DEFAULT
NULL
COMMENT
'收货时间'
,
`receive_note`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'收货备注'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单退货申请'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
27
DEFAULT
CHARSET
=
utf8
COMMENT
=
'订单退货申请'
;
-- ----------------------------
-- Records of oms_order_return_apply
-- ----------------------------
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'3'
,
'12'
,
null
,
'26'
,
'201809150101000001'
,
'2018-10-17 14:34:57'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'4'
,
'12'
,
'2'
,
'27'
,
'201809150101000001'
,
'2018-10-17 14:40:21'
,
'test'
,
'3585.98'
,
'大梨'
,
'18000000000'
,
'1'
,
'2018-10-18 13:54:10'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
'已经处理了'
,
'admin'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'5'
,
'12'
,
'3'
,
'28'
,
'201809150101000001'
,
'2018-10-17 14:44:18'
,
'test'
,
'3585.98'
,
'大梨'
,
'18000000000'
,
'2'
,
'2018-10-18 13:55:28'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
'已经处理了'
,
'admin'
,
'admin'
,
'2018-10-18 13:55:58'
,
'已经处理了'
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'8'
,
'13'
,
null
,
'28'
,
'201809150102000002'
,
'2018-10-17 14:44:18'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'3'
,
'2018-10-18 13:57:12'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
'理由不够充分'
,
'admin'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'9'
,
'14'
,
'2'
,
'26'
,
'201809130101000001'
,
'2018-10-17 14:34:57'
,
'test'
,
'3500.00'
,
'大梨'
,
'18000000000'
,
'2'
,
'2018-10-24 15:44:56'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
'呵呵'
,
'admin'
,
'admin'
,
'2018-10-24 15:46:35'
,
'收货了'
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'10'
,
'14'
,
null
,
'27'
,
'201809130101000001'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'3'
,
'2018-10-24 15:46:57'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
'就是不退'
,
'admin'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'11'
,
'14'
,
'2'
,
'28'
,
'201809130101000001'
,
'2018-10-17 14:44:18'
,
'test'
,
'591.05'
,
'大梨'
,
'18000000000'
,
'1'
,
'2018-10-24 17:09:04'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
'可以退款'
,
'admin'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'12'
,
'15'
,
'3'
,
'26'
,
'201809130102000002'
,
'2018-10-17 14:34:57'
,
'test'
,
'3500.00'
,
'大梨'
,
'18000000000'
,
'2'
,
'2018-10-24 17:22:54'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
'退货了'
,
'admin'
,
'admin'
,
'2018-10-24 17:23:06'
,
'收货了'
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'13'
,
'15'
,
null
,
'27'
,
'201809130102000002'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'3'
,
'2018-10-24 17:23:30'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
'无法退货'
,
'admin'
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'15'
,
'16'
,
null
,
'26'
,
'201809140101000001'
,
'2018-10-17 14:34:57'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'16'
,
'16'
,
null
,
'27'
,
'201809140101000001'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'17'
,
'16'
,
null
,
'28'
,
'201809140101000001'
,
'2018-10-17 14:44:18'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'18'
,
'17'
,
null
,
'26'
,
'201809150101000003'
,
'2018-10-17 14:34:57'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'19'
,
'17'
,
null
,
'27'
,
'201809150101000003'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'20'
,
'17'
,
null
,
'28'
,
'201809150101000003'
,
'2018-10-17 14:44:18'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'21'
,
'18'
,
null
,
'26'
,
'201809150102000004'
,
'2018-10-17 14:34:57'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'22'
,
'18'
,
null
,
'27'
,
'201809150102000004'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'23'
,
'18'
,
null
,
'28'
,
'201809150102000004'
,
'2018-10-17 14:44:18'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'24'
,
'19'
,
null
,
'26'
,
'201809130101000003'
,
'2018-10-17 14:34:57'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg'
,
'华为 HUAWEI P20'
,
'华为'
,
'颜色:金色;内存:16G'
,
'1'
,
'3788.00'
,
'3585.98'
,
'质量问题'
,
'老是卡'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'25'
,
'19'
,
null
,
'27'
,
'201809130101000003'
,
'2018-10-17 14:40:21'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg'
,
'小米8'
,
'小米'
,
'颜色:黑色;内存:32G'
,
'1'
,
'2699.00'
,
'2022.81'
,
'质量问题'
,
'不够高端'
,
''
,
null
,
null
,
null
,
null
,
null
);
INSERT
INTO
`oms_order_return_apply`
VALUES
(
'26'
,
'19'
,
null
,
'28'
,
'201809130101000003'
,
'2018-10-17 14:44:18'
,
'test'
,
null
,
'大梨'
,
'18000000000'
,
'0'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg'
,
'红米5A'
,
'小米'
,
'颜色:金色;内存:16G'
,
'1'
,
'649.00'
,
'591.05'
,
'质量问题'
,
'颜色太土'
,
''
,
null
,
null
,
null
,
null
,
null
);
-- ----------------------------
-- Table structure for oms_order_return_reason
...
...
@@ -518,12 +571,22 @@ CREATE TABLE `oms_order_return_reason` (
`name`
varchar
(
100
)
DEFAULT
NULL
COMMENT
'退货类型'
,
`sort`
int
(
11
)
DEFAULT
NULL
,
`status`
int
(
1
)
DEFAULT
NULL
COMMENT
'状态:0->不启用;1->启用'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'添加时间'
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COMMENT
=
'退货原因表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
16
DEFAULT
CHARSET
=
utf8
COMMENT
=
'退货原因表'
;
-- ----------------------------
-- Records of oms_order_return_reason
-- ----------------------------
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'1'
,
'质量问题'
,
'1'
,
'0'
,
'2018-10-17 10:00:45'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'2'
,
'尺码太大'
,
'1'
,
'1'
,
'2018-10-17 10:01:03'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'3'
,
'颜色不喜欢'
,
'1'
,
'1'
,
'2018-10-17 10:01:13'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'4'
,
'7天无理由退货'
,
'1'
,
'1'
,
'2018-10-17 10:01:47'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'5'
,
'价格问题'
,
'1'
,
'0'
,
'2018-10-17 10:01:57'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'12'
,
'发票问题'
,
'0'
,
'1'
,
'2018-10-19 16:28:36'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'13'
,
'其他问题'
,
'0'
,
'1'
,
'2018-10-19 16:28:51'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'14'
,
'物流问题'
,
'0'
,
'1'
,
'2018-10-19 16:29:01'
);
INSERT
INTO
`oms_order_return_reason`
VALUES
(
'15'
,
'售后问题'
,
'0'
,
'1'
,
'2018-10-19 16:29:11'
);
-- ----------------------------
-- Table structure for oms_order_setting
...
...
@@ -542,7 +605,7 @@ CREATE TABLE `oms_order_setting` (
-- ----------------------------
-- Records of oms_order_setting
-- ----------------------------
INSERT
INTO
`oms_order_setting`
VALUES
(
'1'
,
'
4
0'
,
'
6
0'
,
'15'
,
'7'
,
'7'
);
INSERT
INTO
`oms_order_setting`
VALUES
(
'1'
,
'
6
0'
,
'
12
0'
,
'15'
,
'7'
,
'7'
);
-- ----------------------------
-- Table structure for pms_album
...
...
@@ -1245,19 +1308,19 @@ INSERT INTO `pms_sku_stock` VALUES ('78', '23', '201806070023001', '99.00', '0',
INSERT
INTO
`pms_sku_stock`
VALUES
(
'79'
,
'23'
,
'201806070023002'
,
'99.00'
,
'0'
,
null
,
'米白色'
,
'X'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/1522738681.jpg'
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'80'
,
'23'
,
'201806070023003'
,
'99.00'
,
'0'
,
null
,
'浅黄色'
,
'M'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/2017091716493787_20170917164937650 (1).png'
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'81'
,
'23'
,
'201806070023004'
,
'99.00'
,
'0'
,
null
,
'浅黄色'
,
'X'
,
null
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/2017091716493787_20170917164937650 (1).png'
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'90'
,
'26'
,
'201806070026001'
,
'3788.00'
,
'499'
,
null
,
'金色'
,
'16G'
,
null
,
null
,
null
,
'3588.00'
,
'-
6
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'90'
,
'26'
,
'201806070026001'
,
'3788.00'
,
'499'
,
null
,
'金色'
,
'16G'
,
null
,
null
,
null
,
'3588.00'
,
'-
7
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'91'
,
'26'
,
'201806070026002'
,
'3999.00'
,
'500'
,
null
,
'金色'
,
'32G'
,
null
,
null
,
null
,
'3799.00'
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'92'
,
'26'
,
'201806070026003'
,
'3788.00'
,
'500'
,
null
,
'银色'
,
'16G'
,
null
,
null
,
null
,
'3588.00'
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'93'
,
'26'
,
'201806070026004'
,
'3999.00'
,
'500'
,
null
,
'银色'
,
'32G'
,
null
,
null
,
null
,
'3799.00'
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'98'
,
'27'
,
'201808270027001'
,
'2699.00'
,
'97'
,
null
,
'黑色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-1
8
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'98'
,
'27'
,
'201808270027001'
,
'2699.00'
,
'97'
,
null
,
'黑色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-
2
1'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'99'
,
'27'
,
'201808270027002'
,
'2999.00'
,
'100'
,
null
,
'黑色'
,
'64G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'100'
,
'27'
,
'201808270027003'
,
'2699.00'
,
'100'
,
null
,
'蓝色'
,
'32G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'101'
,
'27'
,
'201808270027004'
,
'2999.00'
,
'100'
,
null
,
'蓝色'
,
'64G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'102'
,
'28'
,
'201808270028001'
,
'649.00'
,
'99'
,
null
,
'金色'
,
'16G'
,
null
,
null
,
null
,
null
,
'-
6
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'103'
,
'28'
,
'201808270028002'
,
'699.00'
,
'99'
,
null
,
'金色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-
6
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'102'
,
'28'
,
'201808270028001'
,
'649.00'
,
'99'
,
null
,
'金色'
,
'16G'
,
null
,
null
,
null
,
null
,
'-
7
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'103'
,
'28'
,
'201808270028002'
,
'699.00'
,
'99'
,
null
,
'金色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-
7
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'104'
,
'28'
,
'201808270028003'
,
'649.00'
,
'100'
,
null
,
'银色'
,
'16G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'105'
,
'28'
,
'201808270028004'
,
'699.00'
,
'100'
,
null
,
'银色'
,
'32G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'106'
,
'29'
,
'201808270029001'
,
'5499.00'
,
'99'
,
null
,
'金色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-
6
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'106'
,
'29'
,
'201808270029001'
,
'5499.00'
,
'99'
,
null
,
'金色'
,
'32G'
,
null
,
null
,
null
,
null
,
'-
7
'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'107'
,
'29'
,
'201808270029002'
,
'6299.00'
,
'100'
,
null
,
'金色'
,
'64G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'108'
,
'29'
,
'201808270029003'
,
'5499.00'
,
'100'
,
null
,
'银色'
,
'32G'
,
null
,
null
,
null
,
null
,
'0'
);
INSERT
INTO
`pms_sku_stock`
VALUES
(
'109'
,
'29'
,
'201808270029004'
,
'6299.00'
,
'100'
,
null
,
'银色'
,
'64G'
,
null
,
null
,
null
,
null
,
'0'
);
...
...
@@ -1510,7 +1573,7 @@ CREATE TABLE `ums_admin` (
-- Records of ums_admin
-- ----------------------------
INSERT
INTO
`ums_admin`
VALUES
(
'1'
,
'test'
,
'202cb962ac59075b964b07152d234b70'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg.jpg'
,
null
,
'测试账号'
,
null
,
'2018-09-29 13:55:30'
,
'2018-09-29 13:55:39'
,
'1'
);
INSERT
INTO
`ums_admin`
VALUES
(
'3'
,
'admin'
,
'e10adc3949ba59abbe56e057f20f883e'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg.jpg'
,
'admin@163.com'
,
'系统管理员'
,
'系统管理员'
,
'2018-10-08 13:32:47'
,
'2018-10-
08 13:33:16
'
,
'1'
);
INSERT
INTO
`ums_admin`
VALUES
(
'3'
,
'admin'
,
'e10adc3949ba59abbe56e057f20f883e'
,
'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg.jpg'
,
'admin@163.com'
,
'系统管理员'
,
'系统管理员'
,
'2018-10-08 13:32:47'
,
'2018-10-
24 14:12:23
'
,
'1'
);
-- ----------------------------
-- Table structure for ums_admin_login_log
...
...
@@ -1545,8 +1608,6 @@ CREATE TABLE `ums_admin_permission_relation` (
-- ----------------------------
-- Records of ums_admin_permission_relation
-- ----------------------------
INSERT
INTO
`ums_admin_permission_relation`
VALUES
(
'24'
,
'3'
,
'9'
,
'1'
);
INSERT
INTO
`ums_admin_permission_relation`
VALUES
(
'25'
,
'3'
,
'8'
,
'-1'
);
-- ----------------------------
-- Table structure for ums_admin_role_relation
...
...
@@ -1557,12 +1618,14 @@ CREATE TABLE `ums_admin_role_relation` (
`admin_id`
bigint
(
20
)
DEFAULT
NULL
,
`role_id`
bigint
(
20
)
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
4
DEFAULT
CHARSET
=
utf8
COMMENT
=
'后台用户和角色关系表'
;
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
1
7
DEFAULT
CHARSET
=
utf8
COMMENT
=
'后台用户和角色关系表'
;
-- ----------------------------
-- Records of ums_admin_role_relation
-- ----------------------------
INSERT
INTO
`ums_admin_role_relation`
VALUES
(
'13'
,
'3'
,
'1'
);
INSERT
INTO
`ums_admin_role_relation`
VALUES
(
'15'
,
'3'
,
'2'
);
INSERT
INTO
`ums_admin_role_relation`
VALUES
(
'16'
,
'3'
,
'4'
);
-- ----------------------------
-- Table structure for ums_growth_change_history
...
...
mall-admin/src/main/java/com/macro/mall/service/impl/OmsOrderReturnApplyServiceImpl.java
View file @
168dc0b1
...
...
@@ -44,7 +44,7 @@ public class OmsOrderReturnApplyServiceImpl implements OmsOrderReturnApplyServic
OmsOrderReturnApply
returnApply
=
new
OmsOrderReturnApply
();
if
(
status
.
equals
(
1
)){
//确认退货
returnApply
.
setId
(
statusParam
.
getId
()
);
returnApply
.
setId
(
id
);
returnApply
.
setStatus
(
1
);
returnApply
.
setReturnAmount
(
statusParam
.
getReturnAmount
());
returnApply
.
setCompanyAddressId
(
statusParam
.
getCompanyAddressId
());
...
...
@@ -53,14 +53,14 @@ public class OmsOrderReturnApplyServiceImpl implements OmsOrderReturnApplyServic
returnApply
.
setHandleNote
(
statusParam
.
getHandleNote
());
}
else
if
(
status
.
equals
(
2
)){
//完成退货
returnApply
.
setId
(
statusParam
.
getId
()
);
returnApply
.
setId
(
id
);
returnApply
.
setStatus
(
2
);
returnApply
.
setReceiveTime
(
new
Date
());
returnApply
.
setReceiveMan
(
statusParam
.
getReceiveMan
());
returnApply
.
setReceiveNote
(
statusParam
.
getReceiveNote
());
}
else
if
(
status
.
equals
(
3
)){
//拒绝退货
returnApply
.
setId
(
statusParam
.
getId
()
);
returnApply
.
setId
(
id
);
returnApply
.
setStatus
(
3
);
returnApply
.
setHandleTime
(
new
Date
());
returnApply
.
setHandleMan
(
statusParam
.
getHandleMan
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment