|
@@ -274,7 +274,7 @@ class SaleReport extends Base
|
|
|
//【一、管理报表】3.订单报表
|
|
|
public function saleList()
|
|
|
{
|
|
|
- $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'page' => 1, 'size' => 1], 'post', 'trim');
|
|
|
+ $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'page' => 1, 'size' => 15], 'post', 'trim');
|
|
|
|
|
|
$where = [['s.is_del', '=', 0]];
|
|
|
if ($param['start_date'] != '' && $param['end_date'] != '') $where[] = ['s.addtime', 'between', [$param['start_date'] . ' 00:00:00', $param['end_date'] . ' 23:59:59']];
|
|
@@ -376,7 +376,7 @@ class SaleReport extends Base
|
|
|
//【一、管理报表】4.未发货报表_列表
|
|
|
public function saleNotOut()
|
|
|
{
|
|
|
- $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'start_arrive_date' => '', 'end_arrive_date' => '', 'page' => 1, 'size' => 1], 'post', 'trim');
|
|
|
+ $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'start_arrive_date' => '', 'end_arrive_date' => '', 'page' => 1, 'size' => 15], 'post', 'trim');
|
|
|
|
|
|
$where = [['s.is_del', '=', 0]];
|
|
|
if ($param['start_date'] != '' && $param['end_date'] != '') $where[] = ['s.addtime', 'between', [$param['start_date'] . ' 00:00:00', $param['end_date'] . ' 23:59:59']];
|
|
@@ -579,7 +579,7 @@ class SaleReport extends Base
|
|
|
public function orderReturn()
|
|
|
{
|
|
|
|
|
|
- $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'status' => '', 'page' => 1, 'size' => 1], 'post', 'trim');
|
|
|
+ $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'status' => '', 'page' => 1, 'size' => 15], 'post', 'trim');
|
|
|
|
|
|
$where = [];
|
|
|
if ($param['start_date'] != '' && $param['end_date'] != '') $where[] = ['or.addtime', 'between', [$param['start_date'] . ' 00:00:00', $param['end_date'] . ' 23:59:59']];
|
|
@@ -682,7 +682,7 @@ class SaleReport extends Base
|
|
|
//【一、管理报表】7.产品热销排行
|
|
|
public function goodRankingList()
|
|
|
{
|
|
|
- $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'page' => 1, 'size' => 1], 'post', 'trim');
|
|
|
+ $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'page' => 1, 'size' => 15], 'post', 'trim');
|
|
|
|
|
|
$where = [['s.is_del', '=', 0]];
|
|
|
if ($param['start_date'] != '' && $param['end_date'] != '') $where[] = ['s.addtime', 'between', [$param['start_date'] . ' 00:00:00', $param['end_date'] . ' 23:59:59']];
|
|
@@ -1487,7 +1487,7 @@ class SaleReport extends Base
|
|
|
//【九、有地址待发货订单】
|
|
|
public function orderOutAddr()
|
|
|
{
|
|
|
- $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'start_sendtime' => '', 'end_sendtime' => '', 'status' => '', 'apply_company' => '', 'page' => 1, 'size' => 1], 'post', 'trim');
|
|
|
+ $param = $this->request->only(['token', 'start_date' => '', 'end_date' => '', 'start_sendtime' => '', 'end_sendtime' => '', 'status' => '', 'apply_company' => '', 'page' => 1, 'size' => 15], 'post', 'trim');
|
|
|
|
|
|
$where = [['b.send_type', '=', 1]];//send_type==1 直接发货
|
|
|
if ($param['start_date'] != '' && $param['end_date'] != '') $where[] = ['a.addtime', 'between', [$param['start_date'] . ' 00:00:00', $param['end_date'] . ' 23:59:59']];
|