🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
<table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="toptext"><p align="center">shop</td> </tr> </table> <a name="header">&nbsp</a><ul> <li><a href="#yf_number_seq"><p class="normal">yf_number_seq</a></li> <li><a href="#yf_order_base"><p class="normal">yf_order_base</a></li> <li><a href="#yf_order_base1"><p class="normal">yf_order_base1</a></li> <li><a href="#yf_order_cancel_reason"><p class="normal">yf_order_cancel_reason</a></li> <li><a href="#yf_order_delivery"><p class="normal">yf_order_delivery</a></li> <li><a href="#yf_order_goods"><p class="normal">yf_order_goods</a></li> <li><a href="#yf_order_goods_chain_code"><p class="normal">yf_order_goods_chain_code</a></li> <li><a href="#yf_order_goods_snapshot"><p class="normal">yf_order_goods_snapshot</a></li> <li><a href="#yf_order_goods_virtual_code"><p class="normal">yf_order_goods_virtual_code</a></li> <li><a href="#yf_order_invoice"><p class="normal">yf_order_invoice</a></li> <li><a href="#yf_order_log"><p class="normal">yf_order_log</a></li> <li><a href="#yf_order_payment"><p class="normal">yf_order_payment</a></li> <li><a href="#yf_order_refund_goods"><p class="normal">yf_order_refund_goods</a></li> <li><a href="#yf_order_return"><p class="normal">yf_order_return</a></li> <li><a href="#yf_order_return_reason"><p class="normal">yf_order_return_reason</a></li> <li><a href="#yf_order_settlement"><p class="normal">yf_order_settlement</a></li> <li><a href="#yf_order_settlement_stat"><p class="normal">yf_order_settlement_stat</a></li> <li><a href="#yf_order_state"><p class="normal">yf_order_state</a></li> <li><a href="#yf_payment_channel"><p class="normal">yf_payment_channel</a></li> <li><a href="#yf_platform_custom_service"><p class="normal">yf_platform_custom_service</a></li> <li><a href="#yf_platform_custom_service_type"><p class="normal">yf_platform_custom_service_type</a></li> <li><a href="#yf_platform_nav"><p class="normal">yf_platform_nav</a></li> <li><a href="#yf_platform_report"><p class="normal">yf_platform_report</a></li> <li><a href="#yf_platform_report_subject"><p class="normal">yf_platform_report_subject</a></li> <li><a href="#yf_platform_report_subject_type"><p class="normal">yf_platform_report_subject_type</a></li> <li><a href="#yf_points_cart"><p class="normal">yf_points_cart</a></li> <li><a href="#yf_points_goods"><p class="normal">yf_points_goods</a></li> <li><a href="#yf_points_log"><p class="normal">yf_points_log</a></li> <li><a href="#yf_points_order"><p class="normal">yf_points_order</a></li> <li><a href="#yf_points_orderaddress"><p class="normal">yf_points_orderaddress</a></li> <li><a href="#yf_points_ordergoods"><p class="normal">yf_points_ordergoods</a></li> <li><a href="#yf_rec_position"><p class="normal">yf_rec_position</a></li> <li><a href="#yf_redpacket_base"><p class="normal">yf_redpacket_base</a></li> <li><a href="#yf_redpacket_template"><p class="normal">yf_redpacket_template</a></li> <li><a href="#yf_report_base"><p class="normal">yf_report_base</a></li> <li><a href="#yf_report_subject"><p class="normal">yf_report_subject</a></li> </ul> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_number_seq'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_number_seq</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">prefix</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">前缀</td> </tr> <tr> <td align="left" valign="top"><p class="normal">number</td> <td align="left" valign="top"><p class="normal">mediumint(8) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">增长值</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">编号管理表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_number_seq</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">prefix</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">2153</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_number_seq</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">prefix</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">prefix</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">2153</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(null)</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_base'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_base</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">MUL</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家店铺id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家店铺名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">MUL</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">MUL</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_date</td> <td align="left" valign="top"><p class="normal">date</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_create_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单生成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_receiver_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货人的姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_receiver_address</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货人的详细地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_receiver_contact</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货人的联系方式</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_receiver_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货时间(最晚收货时间)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付方式id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付方式名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付(付款)时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_number</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_other_number</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">第三方支付平台交易号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发货人的姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_address</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发货人的地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_contact</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发货人的联系方式</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shipping_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">配送时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shipping_express_id</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">配送公司ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shipping_code</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">物流单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shipping_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_finished_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单完成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_invoice</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发票信息</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_invoice_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发票id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品总价格(不包含运费)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">应付金额(商品实际支付金额 + 运费)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_discount_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">优惠价格</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_point_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家使用积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shipping_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费价格</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_buyer_evaluation_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家评价状态 0-未评价 1-已评价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_buyer_evaluation_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">评价时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_evaluation_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家评价状态 0为评价,1已评价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_evaluation_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">评价时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单留言</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">MUL</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单状态</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_points_add</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单赠送积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">voucher_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">代金券id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">voucher_price</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">代金券面额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">voucher_code</td> <td align="left" valign="top"><p class="normal">varchar(32)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">代金券编码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_refund_status</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款状态:0是无退款,1是退款中,2是退款完成</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_status</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货状态:0是无退货,1是退货中,2是退货完成</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_refund_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_num</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_from</td> <td align="left" valign="top"><p class="normal">enum('1','2')</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">手机端</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_commission_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">交易佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_commission_return_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">交易佣金退款</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_is_virtual</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_virtual_code</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟商品兑换码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_virtual_use</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟商品是否使用 0-未使用 1-已使用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shop_hidden</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家删除</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_buyer_hidden</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家删除</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_subuser_hidden</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">主管账号删除</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_cancel_identity</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单取消者身份 1-买家 2-卖家 3-系统</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_cancel_reason</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_unicode_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单取消原因</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_cancel_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单取消时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_shop_benefit</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺优惠</td> </tr> <tr> <td align="left" valign="top"><p class="normal">chain_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">门店id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_seller_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家给卖家留言</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_flag</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否是分佣订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_p_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推广员上级</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_code</td> <td align="left" valign="top"><p class="normal">varchar(32)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包编码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_price</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包面额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_rpt_price</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包抵扣订单金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_rpt_return</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包退款金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_settlement_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单结算时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_is_settlement</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单是否结算 1-已结算 0-未结算</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_distributor_id</td> <td align="left" valign="top"><p class="normal">int(11) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销商</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_distribution_seller_type</td> <td align="left" valign="top"><p class="normal">tinyint(4) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">SO订单分销类型 1:直销(E) 2:分销代销转发销售(P, SP)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_distribution_buyer_type</td> <td align="left" valign="top"><p class="normal">tinyint(4) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">PO订单类型 1:购买(E采购,SP:代销采购) 2:分销采购,代客下单 (P开头)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_source_id</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">源订单Id(P开头):SP开头订单对应的P开头订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_gp_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推广员上级的上级</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推广员</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_is_settlement</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销佣金是否结算 1-已经结算 0-未结算</td> </tr> <tr> <td align="left" valign="top"><p class="normal">district_id</td> <td align="left" valign="top"><p class="normal">mediumint(8)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">所在地,从店铺中同步,冗余检索使用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_sub_pay</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">0:自己支付,1:主管账号支付</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_sub_user</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">付款主账号id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_directseller_commission</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销员三级总佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_discount</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">等级折扣金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单列表:用户所有的下单信息记录在此表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">3149</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">95</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">262</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">seller_user_id</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">seller_user_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">95</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_status</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_status</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">20</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_base1'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_base1</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_number</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单状态</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">应付金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品总价格</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_freight</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_create_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">创建日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家ID</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_base1</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_cancel_reason'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_cancel_reason</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">cancel_reason_id</td> <td align="left" valign="top"><p class="normal">int(20)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">cancel_reason_content</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">取消订单的原因</td> </tr> <tr> <td align="left" valign="top"><p class="normal">cancel_identity</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">取消订单者的身份 1-买家 2-卖家</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单取消原因表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_cancel_reason</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">cancel_reason_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">6</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_delivery'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_delivery</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_delivery_id</td> <td align="left" valign="top"><p class="normal">bigint(20) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">mediumint(8) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">money</td> <td align="left" valign="top"><p class="normal">decimal(20,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shipping_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shipping_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shipping_no</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">ship_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">ship_addr</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">ship_zip</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">ship_tel</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">ship_mobile</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">start_time</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">end_time</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">送货地址</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_delivery</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_delivery_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_goods'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_goods</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">MUL</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">common_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品common_id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_class_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品对应的类目ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">spec_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">规格id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_spec_info</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">规格描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_price</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品价格(商品原价,goods_base中的商品价格未参加任何活动的价格)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_num</td> <td align="left" valign="top"><p class="normal">smallint(5) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_returnnum</td> <td align="left" valign="top"><p class="normal">smallint(5) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品金额 (实付金额)= order_goods_payment_amount* order_goods_num</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_discount_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">优惠金额 = (商品原价-实付金额)*商品数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_payment_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">实付金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_adjust_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">手工调整金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_point_fee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分费用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_commission</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品的佣金 (总)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">mediumint(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单状态</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_evaluation_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">评价状态 0为评价,1已评价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_benefit</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品优惠</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_return_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款状态:0:无退款 1:退款中 2:退款完成</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_refund_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货状态:0是无退货,1是退货中,2是退货完成</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_flag</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否参与分销</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推广销售员-订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_is_settlement</td> <td align="left" valign="top"><p class="normal">tinyint(1) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销佣金是否结算 1-已经结算 0-未结算</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_commission_0</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">直属一级分佣</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_commission_1</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">直属二级分佣</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_commission_2</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">直属三级分佣</td> </tr> <tr> <td align="left" valign="top"><p class="normal">directseller_goods_discount</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">等级折扣金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_source_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">SP订单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_source_ship</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">供应商物流</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_finish_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品完成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单商品表与订单表(yf_order_base)通过order_id绑定</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_goods</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">3971</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_goods</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">3971</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(null)</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_goods_chain_code'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_goods_chain_code</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">chain_code_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">chain_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">门店id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">chain_code_status</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟码状态:0-未使用; 1-已使用; 2-冻结</td> </tr> <tr> <td align="left" valign="top"><p class="normal">chain_code_usetime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟兑换码使用时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">门店自提兑换码表:用户购买虚拟商品产生虚拟码,需在在门店兑换购买的,与订单列表通过(yf_order_base)和订单商品表(yf_order_goods)通过order_id绑定</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_goods_chain_code</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">chain_code_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">73</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_goods_snapshot'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_goods_snapshot</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_snapshot_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">common_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品common_id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分类ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_price</td> <td align="left" valign="top"><p class="normal">float(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">价格</td> </tr> <tr> <td align="left" valign="top"><p class="normal">freight</td> <td align="left" valign="top"><p class="normal">float(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费</td> </tr> <tr> <td align="left" valign="top"><p class="normal">snapshot_create_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">snapshot_uptime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">更新时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">snapshot_detail</td> <td align="left" valign="top"><p class="normal">text</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">快照表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_goods_snapshot</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_goods_snapshot_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">3288</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_goods_virtual_code'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_goods_virtual_code</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">virtual_code_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">virtual_code_status</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟码状态 0:未使用 1:已使用 2:冻结</td> </tr> <tr> <td align="left" valign="top"><p class="normal">virtual_code_usetime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟兑换码使用时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">虚拟兑换码表:购买虚拟商品产生的虚拟兑换码</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_goods_virtual_code</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">virtual_code_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">19165</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_invoice'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_invoice</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_invoice_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">索引id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_state</td> <td align="left" valign="top"><p class="normal">enum('1','2','3')</td> <td align="left" valign="top"><p class="normal">utf8mb4_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1普通发票2电子发票3增值税发票</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_title</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发票抬头[普通发票]</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_content</td> <td align="left" valign="top"><p class="normal">varchar(10)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">发票内容[普通发票]</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_company</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">单位名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_code</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">纳税人识别号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_reg_addr</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">注册地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_reg_phone</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">注册电话</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_reg_bname</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">开户银行</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_reg_baccount</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">银行帐户</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_rec_name</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收票人姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_rec_phone</td> <td align="left" valign="top"><p class="normal">varchar(15)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收票人手机号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_rec_email</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收票人邮箱</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_rec_province</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收票人省份</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_goto_addr</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">送票地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_province_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_city_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">invoice_area_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单发票信息表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_invoice</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_invoice_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">649</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_log'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_log</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_log_id</td> <td align="left" valign="top"><p class="normal">int(20)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">admin_id</td> <td align="left" valign="top"><p class="normal">smallint(5)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">admin_name</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_log_text</td> <td align="left" valign="top"><p class="normal">longtext</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_log_time</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_log_behavior</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_log_result</td> <td align="left" valign="top"><p class="normal">enum('success','failure')</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">success</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单日志列表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_log</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_log_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_payment'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_payment</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_id</td> <td align="left" valign="top"><p class="normal">int(20)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_id</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">mediumint(8) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_money</td> <td align="left" valign="top"><p class="normal">decimal(20,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_type</td> <td align="left" valign="top"><p class="normal">enum('online','offline')</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">online</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_id</td> <td align="left" valign="top"><p class="normal">smallint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_ip</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_start_time</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_end_time</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_payment_trade_no</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">YES</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_payment</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_payment_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_refund_goods'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_refund_goods</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">refund_goods_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货记录ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_number</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单商品编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_name</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款商品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_price</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品单价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_num</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_cash</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_rpt_cash</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还平台红包金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_commision_fee</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_pic</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_spec_info</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">规格描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_code</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家会员名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_reason_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款理由id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_reason</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款理由</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_message</td> <td align="left" valign="top"><p class="normal">varchar(300)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">退款商品表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_refund_goods</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">refund_goods_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">5</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_return'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_return</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货记录ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_number</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_is_virtual</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">虚拟订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_amount</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单总额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货商品编号,0为退款</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_name</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款商品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_price</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商品单价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_num</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_goods_pic</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_code</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1-退款申请 2-退货申请 3-虚拟退款</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">卖家ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">seller_user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">buyer_user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">买家会员名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_add_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">添加时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_reason_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款理由id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_reason</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款理由</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_message</td> <td align="left" valign="top"><p class="normal">varchar(300)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退货备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_real_name</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货人</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_addr_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货地址id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_addr_name</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_addr</td> <td align="left" valign="top"><p class="normal">varchar(150)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货地址详情</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_post_code</td> <td align="left" valign="top"><p class="normal">int(6)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">邮编</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_tel</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">联系电话</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_mobile</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">联系手机</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_state</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1-新发起等待卖家审核 2-卖家审核通过 3-卖家审核不通过 4-卖家收到货物 5-平台审核通过</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_cash</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_shop_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商家处理时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_shop_message</td> <td align="left" valign="top"><p class="normal">varchar(300)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商家备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_finish_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退款完成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_commision_fee</td> <td align="left" valign="top"><p class="normal">decimal(8,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_platform_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台留言</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_goods_return</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否需要退货 0-不需要,1-需要</td> </tr> <tr> <td align="left" valign="top"><p class="normal">behalf_deliver</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销代发货 0:不代发货 1:代发货</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_rpt_cash</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还平台红包金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_shop_handle</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">商家处理结果 1-待处理 2-卖家审核通过 3-卖家审核不通过</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">退货表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_return</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_return_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">453</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_return_reason'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_return_reason</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_reason_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_reason_content</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">投诉理由内容</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_return_reason_sort</td> <td align="left" valign="top"><p class="normal">int(3)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">225</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">投诉理由排序</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">退货理由表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_return_reason</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_return_reason_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">4</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_settlement'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_settlement</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_id</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">结算单编号(年月店铺ID)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_start_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">开始日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_end_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">结束日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_order_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_shipping_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_order_return_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退单金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_commis_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">佣金金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_commis_return_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_shop_cost_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺促销活动费用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">应结金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_datetime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">生成结算单日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_date</td> <td align="left" valign="top"><p class="normal">date</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">结算单年月份</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_state</td> <td align="left" valign="top"><p class="normal">enum('1','2','3','4')</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1默认(已出账)2店家已确认3平台已审核4结算完成</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_pay_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">付款日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_pay_content</td> <td align="left" valign="top"><p class="normal">varchar(200)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_order_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">结算订单类型 1-虚拟订单 2-实物订单</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_redpacket_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_redpacket_return_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还红包</td> </tr> <tr> <td align="left" valign="top"><p class="normal">district_id</td> <td align="left" valign="top"><p class="normal">mediumint(8)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">地区id,0表示全国</td> </tr> <tr> <td align="left" valign="top"><p class="normal">os_directseller_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">分销佣金总额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单结算表:通过定时任务将已经完成的订单统一结算生成结算单,将统一结算出来的数据存入此表中</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_settlement</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">os_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">824</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_settlement_stat'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_settlement_stat</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">date</td> <td align="left" valign="top"><p class="normal">mediumint(9) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">settlement_year</td> <td align="left" valign="top"><p class="normal">smallint(6)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">年</td> </tr> <tr> <td align="left" valign="top"><p class="normal">start_time</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">开始日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">end_time</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">结束日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shipping_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费</td> </tr> <tr> <td align="left" valign="top"><p class="normal">return_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退单金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">commission_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">佣金金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">commission_return_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">退还佣金</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_cost_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">店铺促销活动费用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">result_amount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">本期应结</td> </tr> <tr> <td align="left" valign="top"><p class="normal">create_time</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">创建时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">月销量统计表:统计每个月的订单的销量信息</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_settlement_stat</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">date</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_order_state'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_order_state</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_id</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">状态id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单状态</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_text_1</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_text_2</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_text_3</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">order_state_remark</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">订单状态表:将订单所有的状态存在此表中</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_order_state</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">order_state_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">9</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_payment_channel'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_payment_channel</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_id</td> <td align="left" valign="top"><p class="normal">tinyint(4) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_code</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">代码名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_config</td> <td align="left" valign="top"><p class="normal">text</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付接口配置信息</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">接口状态</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_allow</td> <td align="left" valign="top"><p class="normal">enum('pc','wap','both')</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">pc</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">类型</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_wechat</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">微信中是否可以使用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">payment_channel_enable</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否启用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">支付渠道表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_payment_channel</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">payment_channel_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_custom_service'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_custom_service</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_type_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询类型ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">用户Id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">用户账号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_question</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">咨询内容</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_question_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id_admin</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台客服id-管理员id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_answer</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">咨询回复</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_answer_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_status</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否回复 1 2:已经回复</td> </tr> <tr> <td align="left" valign="top"><p class="normal">status</td> <td align="left" valign="top"><p class="normal">tinyint(3)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1-买家删除;2-卖家删除</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">平台客服-平台咨询表:用户向平台咨询参数记录,客服回复参数数据</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_custom_service</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">custom_service_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">2</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_custom_service_type'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_custom_service_type</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_type_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询类型ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_type_sort</td> <td align="left" valign="top"><p class="normal">int(3)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">255</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询类型排序</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_type_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询类型名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">custom_service_type_desc</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">平台咨询类型备注</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">平台咨询类别表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_custom_service_type</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">custom_service_type_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_nav'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_nav</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">索引ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">类别,0自定义导航,1商品分类,2文章导航,3活动导航,默认为0</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_item_id</td> <td align="left" valign="top"><p class="normal">int(10) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">类别ID,对应着nav_type中的内容,默认为0</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_title</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">导航标题</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_url</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">导航链接</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_location</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">导航位置,0头部,1中部,2底部,默认为0</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_new_open</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否以新窗口打开,0为否,1为是,默认为0</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_displayorder</td> <td align="left" valign="top"><p class="normal">tinyint(3) unsigned</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">255</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">排序</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_active</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否启用</td> </tr> <tr> <td align="left" valign="top"><p class="normal">nav_readonly</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">不可修改-团购、积分等等</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">页面导航表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_nav</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">nav_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">7</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_report'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_report</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">被举报的商品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">被举报的商品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">subject_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报主题id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">subject_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报主题</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_content</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报信息</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">被举报商品的店铺id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">被举报商品的店铺</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_state</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报状态(1未处理/2已处理)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_result</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报处理结果(1无效举报/2恶意举报/3有效举报)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_message</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报处理信息</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_handle_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0000-00-00 00:00:00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报处理时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_handle_admin</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">管理员</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">举报表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_report</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">report_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_report_subject'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_report_subject</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">subject_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报主题id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">subject_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报主题内容</td> </tr> <tr> <td align="left" valign="top"><p class="normal">type_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报类型id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">type_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报类型名称 </td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">举报主题表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_report_subject</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">subject_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_platform_report_subject_type'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_platform_report_subject_type</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报类型id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报类型名称 </td> </tr> <tr> <td align="left" valign="top"><p class="normal">desc</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报类型描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">举报类型表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_platform_report_subject_type</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_cart'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_cart</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_cart_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">自增ID</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品序号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_name</td> <td align="left" valign="top"><p class="normal">varchar(10)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_points</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品兑换积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_choosenum</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">选择积分礼品数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">积分礼品兑换购物车</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_cart</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_cart_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">30</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_goods'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_goods</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品索引id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_price</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品原价</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_points</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品兑换所需积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_image</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品默认封面图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_tag</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品标签</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_serial</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品货号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_storage</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品库存数</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_shelves</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品上架 0表示下架 1表示上架</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_recommend</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品是否推荐,1-是、0-否</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_add_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品添加时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_keywords</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品关键字</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_description</td> <td align="left" valign="top"><p class="normal">varchar(200)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_body</td> <td align="left" valign="top"><p class="normal">text</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品详细内容</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_salenum</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分礼品售出数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_view</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分商品浏览次数</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_limitgrade</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">换购针对会员等级限制,默认为0,所有等级都可换购</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_islimit</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否限制每会员兑换数量,0不限制,1限制,默认0</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_limitnum</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">每会员限制兑换数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_islimittime</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">是否限制兑换时间 0为不限制 1为限制</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_starttime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换开始时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_endtime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换结束时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goods_sort</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品排序</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">积分礼品表:平台发布积分礼品后发布的礼品信息记录此表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_goods</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_goods_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">28</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_log'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_log</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">类型 1获取积分2积分消费</td> </tr> <tr> <td align="left" valign="top"><p class="normal">class_id</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">积分类型1.会员注册,2.会员登录3.评价4.购买商品5.6.管理员操作7.积分换购商品8.积分兑换代金券</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">会员名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">admin_name</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">管理员名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_points</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">可用积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">freeze_points</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">冻结积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_time</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">创建时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_desc</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_log_flag</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">标记</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">会员积分日志表:当用户产生积分的时候记录此表</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_log</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_log_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">4724</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_order'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_order</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_order_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换订单编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_order_rid</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换订单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_buyerid</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换会员id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_buyername</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换会员姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_buyeremail</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换会员email</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_addtime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换订单生成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_paymenttime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">支付(付款)时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_shippingtime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">配送时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_shippingcode</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">物流单号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_logistics</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">物流公司名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_finnshedtime</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单完成时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_allpoints</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换总积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_orderamount</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换订单总金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_shippingcharge</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费承担方式 0表示平台 1表示买家</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_shippingfee</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0.00</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">运费金额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_ordermessage</td> <td align="left" valign="top"><p class="normal">varchar(300)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">无</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单留言</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_orderstate</td> <td align="left" valign="top"><p class="normal">int(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单状态:1(已下单,等待发货);2(已发货,等待收货);3(确认收货)4(取消):</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">积分兑换订单表:当用积分兑换礼包商品的时候产生订单生成此订单信息</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_order</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_order_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">35</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_orderaddress'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_orderaddress</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_oaid</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">自增id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_orderid</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_truename</td> <td align="left" valign="top"><p class="normal">varchar(10)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">收货人姓名</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_areaid</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">地区id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_areainfo</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">地区内容</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_address</td> <td align="left" valign="top"><p class="normal">varchar(200)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">详细地址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_zipcode</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">邮政编码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_telphone</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">电话号码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_mobphone</td> <td align="left" valign="top"><p class="normal">varchar(20)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">手机号码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">兑换订单地址表:兑换的订单收货地址</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_orderaddress</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_oaid</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">35</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_points_ordergoods'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_points_ordergoods</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_recid</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单礼品表索引</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_orderid</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">订单id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goodsid</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goodsname</td> <td align="left" valign="top"><p class="normal">varchar(100)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goodspoints</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品兑换积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goodsnum</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">points_goodsimage</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">礼品图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">兑换订单商品表:与兑换订单表(yf_points_order)通过points_orderid关联</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_points_ordergoods</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">points_recid</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">38</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_rec_position'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_rec_position</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_title</td> <td align="left" valign="top"><p class="normal">varchar(30)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推荐位标题</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推荐位类型 0-图片 1-文字</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_pic</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推荐位图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_content</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">文字展示</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_alert_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">弹出方式 0 本窗口 1 新窗口</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_url</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">跳转网址</td> </tr> <tr> <td align="left" valign="top"><p class="normal">position_code</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">调用代码</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_rec_position</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">position_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_redpacket_base'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_redpacket_base</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_code</td> <td align="left" valign="top"><p class="normal">varchar(32)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包编码</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_title</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包标题</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_desc</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_start_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包有效期开始时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_end_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包有效期结束时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_price</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包面额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_orderlimit</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包使用时的订单限额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_state</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包状态(1-未用,2-已用,3-过期)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_active_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包发放日期</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_owner_id</td> <td align="left" valign="top"><p class="normal">int(11)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包所有者id</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_owner_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包所有者名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_order_id</td> <td align="left" valign="top"><p class="normal">varchar(500)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">使用该红包的订单编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">红包使用表:记录使用红包的信息包含红包面额、有效期、使用状态、领取者、如已经使用则记录使用的订单编号</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_redpacket_base</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">redpacket_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">176</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_redpacket_template'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_redpacket_template</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版编号</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_type</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">2</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包类型,1-新人注册红包,2-普通红包,默认2</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_title</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版名称</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_desc</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版描述</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_start_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版有效期开始时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_end_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版有效期结束时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_price</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版面额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_orderlimit</td> <td align="left" valign="top"><p class="normal">decimal(10,2)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包使用时的消费限额</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_state</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包模版状态(1-有效,2-失效)</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_total</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">模版可发放的红包总数</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_giveout</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">模版已发放的红包数量</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_used</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">模版已经使用过的红包</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_add_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">模版的创建时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_update_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">模版的最后修改时间</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_points</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">兑换所需积分</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_eachlimit</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">每人限领张数</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_user_grade_limit</td> <td align="left" valign="top"><p class="normal">tinyint(4)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">领取红包的用户等级限制</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_img</td> <td align="left" valign="top"><p class="normal">varchar(200)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包图片</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_access_method</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">红包领取方式,1-积分兑换(默认),2-卡密兑换,3-免费领取</td> </tr> <tr> <td align="left" valign="top"><p class="normal">redpacket_t_recommend</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">推荐状态,0-为不推荐,1-推荐</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">红包模版表:记录红包的信息包含红包的发布数量、状态、每人限领取张数、红包面额、有效期、领取方式</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_redpacket_template</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">redpacket_t_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">26</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_report_base'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_report_base</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_type_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_type_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_subject_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_subject_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_pic</td> <td align="left" valign="top"><p class="normal">text</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">举报证据,逗号分隔</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_state</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">1-未处理 2-已处理</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">user_account</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">shop_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_name</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">goods_pic</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_date</td> <td align="left" valign="top"><p class="normal">datetime</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_handle_message</td> <td align="left" valign="top"><p class="normal">varchar(255)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_handle_state</td> <td align="left" valign="top"><p class="normal">tinyint(1)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">0-未处理 1-有效 2-无效</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">商品举报表:包含举报类型report_type_id、举报名称report_subject_name、举报人user_id、user_account、举报商品所在的店铺shop_id、shop_name、举报的商品goods_id、goods_name、goods_pic、举报时间report_date、举报后平台处理状态</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_report_base</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">report_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">16</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table> <a href="#header"><p class="normal">Back</a><br class=page> <p><a name='yf_report_subject'>&nbsp</a> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="headtext" width="30%" align="left" valign="top">yf_report_subject</td> <td>&nbsp</td> <tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Fields</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="center" valign="top" class="fieldcolumn">Field</td> <td align="center" valign="top" class="fieldcolumn">Type</td> <td align="center" valign="top" class="fieldcolumn">Collation</td> <td align="center" valign="top" class="fieldcolumn">Null</td> <td align="center" valign="top" class="fieldcolumn">Key</td> <td align="center" valign="top" class="fieldcolumn">Default</td> <td align="center" valign="top" class="fieldcolumn">Extra</td> <td align="center" valign="top" class="fieldcolumn">Privileges</td> <td align="center" valign="top" class="fieldcolumn">Comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_subject_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">PRI</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">auto_increment</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_subject_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_type_id</td> <td align="left" valign="top"><p class="normal">int(10)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">report_type_name</td> <td align="left" valign="top"><p class="normal">varchar(50)</td> <td align="left" valign="top"><p class="normal">utf8_general_ci</td> <td align="left" valign="top"><p class="normal">NO</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">select,insert,update,references</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> <tr> <td align="left" valign="top"><p class="normal">说明:</td> <td align="left" valign="top" colspan="8"><p class="normal">举报主题表:report_subject_name主题名称、report_type_id举报类型、</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="3"> <tr> <td class="fieldheader" width="100%" align="left" valign="top">Indexes</td> </tr> </table> <table width="100%" cellspacing="0" cellapdding="2" border="1"> <tr> <td align="left" valign="top" class="fieldcolumn">Table</td> <td align="left" valign="top" class="fieldcolumn">Non<br>unique</td> <td align="left" valign="top" class="fieldcolumn">Key<br>name</td> <td align="left" valign="top" class="fieldcolumn">Seq<br>in<br>index</td> <td align="left" valign="top" class="fieldcolumn">Column<br>name</td> <td align="left" valign="top" class="fieldcolumn">Collation</td> <td align="left" valign="top" class="fieldcolumn">Cardinality</td> <td align="left" valign="top" class="fieldcolumn">Sub<br>part</td> <td align="left" valign="top" class="fieldcolumn">Packed</td> <td align="left" valign="top" class="fieldcolumn">Null</td> <td align="left" valign="top" class="fieldcolumn">Index<br>type</td> <td align="left" valign="top" class="fieldcolumn">Comment</td> <td align="left" valign="top" class="fieldcolumn">Index<br>comment</td> </tr> <tr> <td align="left" valign="top"><p class="normal">yf_report_subject</td> <td align="left" valign="top"><p class="normal">0</td> <td align="left" valign="top"><p class="normal">PRIMARY</td> <td align="left" valign="top"><p class="normal">1</td> <td align="left" valign="top"><p class="normal">report_subject_id</td> <td align="left" valign="top"><p class="normal">A</td> <td align="left" valign="top"><p class="normal">2</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">(NULL)</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">BTREE</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> <td align="left" valign="top"><p class="normal">&nbsp;</td> </tr> </table>