->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_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','o.cancel_reason','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.supplier_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();
...
...
@@ -865,6 +865,7 @@ Class OrderController extends Controller
$tmp[$i]['create_time_date']='';
$tmp[$i]['create_time_sec']='';
$tmp[$i]['com_name']='';
$tmp[$i]['supplier_name']='';
$tmp[$i]['goods_sum']='';
$tmp[$i]['shipping_fee']='';
$tmp[$i]['extra_fee']='';
...
...
@@ -876,7 +877,6 @@ Class OrderController extends Controller
$tmp[$i]['shipping_status']='';// 发货状态
$tmp[$i]['inv_type']='';// 发票类型
$tmp[$i]['invoice_status']='';// 发票状态
$tmp[$i]['company_name']='';
$tmp[$i]['sale_name']='';// 推送业务员
$tmp[$i]['adtags']='';
$tmp[$i]['client_source']='';
...
...
@@ -888,7 +888,8 @@ Class OrderController extends Controller