订单相关

This commit is contained in:
litianxiang
2026-05-20 15:33:22 +08:00
parent d004dc75f5
commit 45885bf509
9 changed files with 169 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ CREATE TABLE seller_orders (
seller_id BIGINT NOT NULL COMMENT '卖家ID',
buyer_id BIGINT NOT NULL COMMENT '买家ID',
status INT DEFAULT 0 COMMENT '订单状态: 0-未支付, 1-已支付, 2-已取消',
shop_name VARCHAR(100) COMMENT '店铺名称',
total_price DECIMAL(10,2) COMMENT '订单总金额(HK$)',
buyer_username VARCHAR(100) COMMENT '买家账号',
total_items INT COMMENT '商品总数量',