->leftJoin('lie_order as o','it.order_id','=','o.order_id')
->leftJoin('lie_order as o','it.order_id','=','o.order_id')
->leftJoin('lie_pay_log as p','it.order_id','=','p.order_id')
->leftJoin('lie_pay_log as p','it.order_id','=','p.order_id')
...
@@ -235,37 +238,44 @@ class OrderModel extends Model
...
@@ -235,37 +238,44 @@ class OrderModel extends Model
->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.single_pre_price','it.brand_name','it.supplier_name','it.goods_class','it.self_supplier_type','o.order_id','o.order_sn','o.order_type','o.order_pay_type','o.order_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.sale_type','o.currency','o.sale_id','o.cancel_reason','i.tax_title','i.inv_type','i.invoice_status','i.tax_title','i.company_address','i.company_phone','i.tax_no','i.bank_name','i.bank_account','a.consignee','a.address','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','u.is_new','u.is_test','c.com_name','oe.erp_sn','oe.send_remark','oe.is_new as is_new_order','oe.business_type','oe.jd_order_id','oe.exchange_rate','oe.sample_demand_desc','a.mobile as address_mobile','a.province','a.city','a.district')
->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.single_pre_price','it.brand_name','it.supplier_name','it.goods_class','it.self_supplier_type','o.order_id','o.order_sn','o.order_type','o.order_pay_type','o.order_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.sale_type','o.currency','o.sale_id','o.cancel_reason','i.tax_title','i.inv_type','i.invoice_status','i.tax_title','i.company_address','i.company_phone','i.tax_no','i.bank_name','i.bank_account','a.consignee','a.address','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','u.is_new','u.is_test','c.com_name','oe.erp_sn','oe.send_remark','oe.is_new as is_new_order','oe.business_type','oe.jd_order_id','oe.exchange_rate','oe.sample_demand_desc','a.mobile as address_mobile','a.province','a.city','a.district')