[关闭]
@qq286531097 2017-08-28T06:13:39.000000Z 字数 1074 阅读 295

订单表结构

luban


主订单表

field comment
id 订单id
orderBn 订单号
shopId 所属商家
userId 会员ID
memberId crm会员ID
status 订单状态
cancelStatus 取消订单状态
cancelReason 取消订单原因
payType 支付类型
pointsFee 积分抵扣金额
postFee 邮费
discountFee 促销优惠金额
totalFee 商品总金额
adjustFee 卖家手工调整金额
payment 实付金额
payedFee 已支付金额
payTime 付款时间
consignTime 卖家发货时间
endTime 结束时间
stepTradeStatus 分阶段付款的订单状态
stepPaidFee 分阶段付款的已付金额
consumePointFee 买家使用积分
obtainPointFee 买家获得积分
totalWeight 商品重量
itemNum 子订单购买总数量
shippingType 配送方式
receiverName 收货人姓名
receiverState 收货人所在省份
receiverCity 收货人所在城市
receiverDistrict 收货人所在地区
receiverAddress 收货人详细地址
receiverZip 收货人邮编
receiverMobile 收货人手机号
receiverPhone 收货人电话
zitiAddr 自提地址
zitiMemo 自提备注
needInvoice 是否需要开票
invoiceName 发票抬头
invoiceType 发票类型
invoiceMain 发票内容
invoiceVatMain 增值税发票内容
buyerMessage 买家留言
shopMemo 卖家备注
tradeMemo 交易备注
ip IP地址
tradeFrom 订单来源
created 创建时间
updated 更新时间

子订单表

field comment
id 子订单id
orderId 订单ID
memberId crm会员ID
status 子订单状态
goodsId 商品id
bn 商品货号
salesProductId 销售物流ID
name 商品名称
totalFee 明细总金额
pointsFee 积分抵扣金额
discountFee 子订单优惠金额
adjustFee 手工调整金额
payment 实付金额
partMjzDiscount 优惠分摊
price 售价
consumePointFee 买家使用积分
totalWeight 商品重量
num 购买数量
sendNum 明细商品发货数量
aftersalesStatus 售后状态
refundFee 退款金额
returnNum 已退货量
created 创建时间
updated 更新时间
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注