From e6420e6638d770e0f8c2566dd7b18fc02485ec6a Mon Sep 17 00:00:00 2001 From: dengbw Date: Fri, 5 May 2023 10:29:08 +0800 Subject: [PATCH] market_order_export market_groups_export --- market/controllers/api/sylive/GroupsCustomer.php | 8 ++++---- market/controllers/api/sylive/GroupsExchange.php | 10 +++++----- market/controllers/api/sylive/GroupsOrder.php | 10 +++++----- market/controllers/api/sylive/GroupsWin.php | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/market/controllers/api/sylive/GroupsCustomer.php b/market/controllers/api/sylive/GroupsCustomer.php index b6be59c8..6a8a9684 100644 --- a/market/controllers/api/sylive/GroupsCustomer.php +++ b/market/controllers/api/sylive/GroupsCustomer.php @@ -39,7 +39,7 @@ class groupsCustomer extends BaseController public function export_get() { $this->inputs['page'] = 1; - $this->inputs['limit'] = 10000; + $this->inputs['limit'] = 20000; $date = $this->dataSelect($this->inputs); $this->return_response_list($date); } @@ -205,7 +205,7 @@ class groupsCustomer extends BaseController } } } - if ($limit == 10000) { + if ($limit >= 10000) { $count = $limit; } else { $count = $this->mdSyliveCustomer->count($where); @@ -234,7 +234,7 @@ class groupsCustomer extends BaseController 'customerId' => $v['customerId'], 'name' => $v['name'], 'mobile' => $v['mobile'] , 'statusName' => $statusName, 'visitTagName' => $visitTagName, 'consultant' => $consultant['consultant'] ]; - if ($limit == 10000) { + if ($limit >= 10000) { unset($list1['customerId']); } $list2 = []; @@ -246,7 +246,7 @@ class groupsCustomer extends BaseController $list[] = $item; } } - if ($limit == 10000) { + if ($limit >= 10000) { $columns1 = ['姓名', '手机号', '状态', '回访标签', '顾问']; $columns2 = []; foreach ($levels as $k => $v) { diff --git a/market/controllers/api/sylive/GroupsExchange.php b/market/controllers/api/sylive/GroupsExchange.php index 356539b5..5d2004e8 100644 --- a/market/controllers/api/sylive/GroupsExchange.php +++ b/market/controllers/api/sylive/GroupsExchange.php @@ -41,7 +41,7 @@ class groupsExchange extends BaseController public function export_get() { $this->inputs['page'] = 1; - $this->inputs['limit'] = 10000; + $this->inputs['limit'] = 20000; $date = $this->orderList($this->inputs); $this->return_response_list($date); } @@ -295,7 +295,7 @@ class groupsExchange extends BaseController } } } - if ($limit == 10000) { + if ($limit >= 10000) { $count = $limit; } else { $count = $this->mdSyliveOrder->count($where); @@ -322,7 +322,7 @@ class groupsExchange extends BaseController , 'useStatusName' => $useStatusName, 'consultant' => $consultant['consultant'] , 'ifAddress' => $ifAddress, 'useStatus' => intval($useStatus) ]; - if ($limit == 10000) { + if ($limit >= 10000) { unset($list1['id']); unset($list1['ifAddress']); unset($list1['useStatus']); @@ -335,7 +335,7 @@ class groupsExchange extends BaseController } $item = count($list2) ? array_merge($list1, $list2) : $list1; $item['stores'] = $consultant['stores']; - if ($limit == 10000) { + if ($limit >= 10000) { $address = $biz = ''; $jsondata = $v['jsondata'] ? json_decode($v['jsondata'], true) : []; if ($jsondata['address']) { @@ -350,7 +350,7 @@ class groupsExchange extends BaseController $list[] = $item; } } - if ($limit == 10000) { + if ($limit >= 10000) { $columns1 = ['订单号', '姓名', '手机号', '商品标题', '订单价格', '核销类型', '状态', '顾问']; $columns2 = []; foreach ($levels as $k => $v) { diff --git a/market/controllers/api/sylive/GroupsOrder.php b/market/controllers/api/sylive/GroupsOrder.php index 939930ec..b0e95281 100644 --- a/market/controllers/api/sylive/GroupsOrder.php +++ b/market/controllers/api/sylive/GroupsOrder.php @@ -39,7 +39,7 @@ class groupsOrder extends BaseController public function export_get() { $this->inputs['page'] = 1; - $this->inputs['limit'] = 10000; + $this->inputs['limit'] = 20000; $date = $this->orderList($this->inputs); $this->return_response_list($date); } @@ -112,7 +112,7 @@ class groupsOrder extends BaseController } } } - if ($limit == 10000) { + if ($limit >= 10000) { $count = $limit; } else { $count = $this->mdSyliveOrder->count($where); @@ -132,7 +132,7 @@ class groupsOrder extends BaseController , 'createTime' => $v['createTime'], 'typeName' => $this->mdSyliveOrder->typeAry($v['type']) , 'statusName' => $this->mdSyliveOrder->statusAry($v['status']), 'insiders' => $insiders, 'consultant' => $consultant['consultant'] ]; - if ($limit == 10000) { + if ($limit >= 10000) { unset($list1['id']); $list1['consultantMobile'] = $consultant['consultantMobile']; } else { @@ -144,7 +144,7 @@ class groupsOrder extends BaseController } $item = count($list2) ? array_merge($list1, $list2) : $list1; $item['stores'] = $consultant['stores']; - if ($limit == 10000) { + if ($limit >= 10000) { $address = $biz = ''; $jsondata = $v['jsondata'] ? json_decode($v['jsondata'], true) : []; if ($jsondata['address']) { @@ -159,7 +159,7 @@ class groupsOrder extends BaseController $list[] = $item; } } - if ($limit == 10000) { + if ($limit >= 10000) { $columns1 = ['订单号', '姓名', '手机号', '商品标题', '订单价格', '付款时间', '创建时间', '订单类型', '状态', '内部人员' , '顾问', '顾问手机号']; $columns2 = []; diff --git a/market/controllers/api/sylive/GroupsWin.php b/market/controllers/api/sylive/GroupsWin.php index 51356d8a..a8a74431 100644 --- a/market/controllers/api/sylive/GroupsWin.php +++ b/market/controllers/api/sylive/GroupsWin.php @@ -41,7 +41,7 @@ class groupsWin extends BaseController public function export_get() { $this->inputs['page'] = 1; - $this->inputs['limit'] = 10000; + $this->inputs['limit'] = 20000; $date = $this->orderList($this->inputs); $this->return_response_list($date); } @@ -118,7 +118,7 @@ class groupsWin extends BaseController } } } - if ($limit == 10000) { + if ($limit >= 10000) { $count = $limit; } else { $count = $this->mdSyliveOrder->count($where); @@ -143,7 +143,7 @@ class groupsWin extends BaseController , 'totalPrice' => $v['totalPrice'], 'payTime' => $v['payTime'] != '0000-00-00 00:00:00' ? $v['payTime'] : '' , 'winTime' => $v['winTime'] ? $v['winTime'] : '', 'winName' => $winName, 'consultant' => $consultant['consultant'] ]; - if ($limit == 10000) { + if ($limit >= 10000) { unset($list1['id']); } else { unset($list1['sid']); @@ -154,7 +154,7 @@ class groupsWin extends BaseController } $item = count($list2) ? array_merge($list1, $list2) : $list1; $item['stores'] = $consultant['stores']; - if ($limit == 10000) { + if ($limit >= 10000) { $address = $biz = ''; $jsondata = $v['jsondata'] ? json_decode($v['jsondata'], true) : []; if ($jsondata['address']) { @@ -169,7 +169,7 @@ class groupsWin extends BaseController $list[] = $item; } } - if ($limit == 10000) { + if ($limit >= 10000) { $columns1 = ['订单号', '姓名', '手机号', '商品标题', '订单价格', '付款时间', '中奖时间', '中奖类型', '顾问']; $columns2 = []; foreach ($levels as $k => $v) {