->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.brand_name','o.order_id','o.order_sn','o.order_pay_type','o.order_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','o.cancel_reason','i.tax_title','i.inv_type','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','c.com_name','oe.send_remark')
->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.single_pre_price','it.brand_name','o.order_id','o.order_sn','o.order_pay_type','o.order_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','o.cancel_reason','i.tax_title','i.inv_type','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','c.com_name','oe.send_remark')
->groupBy('it.rec_id')
->orderBy('o.create_time','DESC')
->get();
...
...
@@ -866,6 +867,7 @@ Class OrderController extends Controller