->select('it.goods_name','it.goods_number','it.goods_price','it.supplier_name','o.order_id','o.order_sn','o.order_pay_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','c.com_name')
->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.supplier_name','o.order_id','o.order_sn','o.order_pay_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','c.com_name')
->groupBy('it.rec_id')
->groupBy('it.rec_id')
->orderBy('o.create_time','DESC')
->orderBy('o.create_time','DESC')
->get();
->get();
...
@@ -702,10 +704,11 @@ Class OrderController extends Controller
...
@@ -702,10 +704,11 @@ Class OrderController extends Controller