|
订单商品表(wst_order_goods)
|
字段名称 |
字段说明 |
字段描述 |
类型 |
长度 |
默认 |
必填 |
|
id |
自增ID |
|
int |
11 |
|
是 |
1 |
orderId |
订单ID |
|
int |
11 |
|
是 |
2 |
goodsId |
商品ID |
|
int |
11 |
|
是 |
3 |
goodsNum |
商品数量 |
|
int |
11 |
0 |
是 |
4 |
goodsPrice |
商品价格 |
|
decimal |
11,2 |
0.00 |
是 |
5 |
goodsSpecId |
商品-规格ID |
|
int |
11 |
0 |
|
6 |
goodsSpecNames |
商品-规格值列表 |
|
varchar |
500 |
|
|
7 |
goodsName |
商品名称 |
|
varchar |
200 |
|
是 |
8 |
goodsImg |
商品图 |
|
varchar |
150 |
|
是 |
9 |
commissionRate |
商品佣金比率 |
|
decimal |
11,2 |
0.00 |
|
10 |
extraJson |
额外信息 |
目前用来存放虚拟商品的卡券号 |
text |
|
|
|
11 |
goodsType |
商品类型 |
0:实物商品 1:虚拟商品 |
tinyint |
4 |
0 |
是 |
12 |
commission |
分销佣金 |
|
decimal |
11,2 |
0.00 |
|
13 |
goodsCode |
商品标记 |
gift:赠品 |
varchar |
20 |
|
|
14 |
promotionJson |
商品所参与的优惠活动json记录 |
|
text |
|
|
|
15 |
couponVal |
优惠券减免金额 |
|
decimal |
11,2 |
0.00 |
是 |
16 |
rewardVal |
满减减免金额 |
|
decimal |
11,2 |
0.00 |
是 |
17 |
useScoreVal |
商品使用的积分 |
|
int unsigned |
10 |
0 |
是 |
18 |
scoreMoney |
积分抵扣金额 |
|
decimal |
11,2 |
0.00 |
是 |
19 |
getScoreVal |
购买该商品获得的积分数 |
|
int unsigned |
10 |
0 |
是 |
20 |
getScoreMoney |
获得的积分数可抵扣的金额 |
|
decimal |
11,2 |
0.00 |
是 |
21 |
orderGoodscommission |
订单商品佣金 |
|
decimal |
11,2 |
0.00 |
|
|