Skip to content

ome_delivery_bill

物流包裹单表

所属应用: ome

表结构

ColumnNameCommentTypeNot nullDefaultAutoincrement
log_idlog_idint(10) unsignedYY
delivery_id发货单号int(10) unsignedYN
delivery_bn发货单号varchar(32)YN
logi_code物流编码varchar(20)NN
logi_no物流单号varchar(50)NN
status状态 0:未发货;1:已发货;2:已取消;3:已接受;4:已签收;5:已支付;enum('0','1','2','3','4','5')Y0N
weight包裹重量decimal(20,3)NN
delivery_cost_expect预计物流费用(包裹重量计算的费用)decimal(20,3)N0N
delivery_cost_actual实际物流费用(物流公司提供费用)decimal(20,3)N0N
create_time创建时间int(10) unsignedNN
delivery_time发货时间int(10) unsignedN0N
order_id订单IDint(10) unsignedN0N
order_bn订单号varchar(50)NN
package_bn京东订单号varchar(50)NN
last_modified最后更新时间int(10) unsignedNN
sync_status同步状态 none:未请求;fail:失败;succ:成功;enum('none','fail','succ')NnoneN
push_kepler推送云交易 none:未回写;fail:回写失败;succ:回写成功;retry:重试推送;enum('none','fail','succ','retry')NnoneN
exception_status异常状态int(11)N0N
exception_code异常代码varchar(255)NN
sub_exception_code子异常代码varchar(255)NN
exception_type异常类型varchar(255)NN
exception_create_time异常发生时间int(10) unsignedNN
exception_over_time预警转实际异常时间int(10) unsignedNN
exception_id异常IDvarchar(255)NN
detail_type详情类型int(11)N0N
courier_name配送员姓名varchar(20)NN
courier_phone配送员联系方式varchar(100)NN
phone_type电话类型 0:真实电话;1:隐私号;enum('0','1')NN
privacy_num_validity_seconds隐私号过期时间int(11)NN

索引

Key nameColumn namesUniqueComment
primarylog_idY
index_logi_nologi_noN
index_order_bnorder_bnN
index_package_bnpackage_bnN
index_delivery_bndelivery_bnN
index_statusstatusN
in_delivery_iddelivery_idN
index_push_keplerpush_keplerN
index_create_timecreate_timeN
index_exception_statusexception_statusN
index_exception_create_timeexception_create_timeN
index_exception_codeexception_codeN