feat:订单退款购物车

This commit is contained in:
dzc committed 2025-08-27 16:50:23 +08:00
1 parent 5c6549713d
commit 5647b14b9d
11 files changed
+350 -113

No files matched your search

+27
View File
@@ -220,6 +220,33 @@ CREATE TABLE hard_car
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci COMMENT ='购物车表';
-- ----------------------------
-- Table structure for hard_after_sale_car
-- ----------------------------
DROP TABLE IF EXISTS `hard_after_sale_car`;
CREATE TABLE hard_after_sale_car
(
id bigint NOT NULL COMMENT '编号',
refund_id bigint NOT NULL COMMENT '退款id',
parent_car_id bigint NOT NULL COMMENT '父购物车id',
product_id bigint NOT NULL COMMENT '商品id',
product_name varchar(128) NOT NULL COMMENT '商品名',
product_pic varchar(256) NOT NULL COMMENT '商品图片',
product_price bigint NOT NULL COMMENT '商品价格',
product_count int NOT NULL COMMENT '数量',
product_weight decimal(10, 2) COMMENT '重量',
total_price bigint COMMENT '总价(分)',
create_by varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
create_time datetime DEFAULT NULL COMMENT '创建时间',
update_by varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',
update_time datetime DEFAULT NULL COMMENT '修改时间',
del_flag char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标记',
tenant_id bigint DEFAULT NULL COMMENT '租户ID',
PRIMARY KEY (id)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci COMMENT ='购物车退款表';
-- ----------------------------
-- Table structure for hard_parent_car
-- ----------------------------