|
|
|
@ -312,6 +312,7 @@ class Order extends OrderModel |
|
|
|
|
'extractShopId' => 0, // 自提门店ID |
|
|
|
|
'betweenTime' => [], // 起止时间 |
|
|
|
|
'userId' => 0, // 会员ID |
|
|
|
|
'disputeStatus' => 10 //10正常状态 20纠纷订单 |
|
|
|
|
]); |
|
|
|
|
// 检索查询条件 |
|
|
|
|
$filter = []; |
|
|
|
@ -348,7 +349,7 @@ class Order extends OrderModel |
|
|
|
|
$params['extractShopId'] > 0 && $filter[] = ['extract_shop_id', '=', (int)$params['extractShopId']]; |
|
|
|
|
// 会员ID |
|
|
|
|
$params['userId'] > 0 && $filter[] = ['order.user_id', '=', (int)$params['userId']]; |
|
|
|
|
|
|
|
|
|
$params['disputeStatus'] > 10 && $filter[] = ['dispute_status', '=', $params['disputeStatus']]; |
|
|
|
|
//gj |
|
|
|
|
if (isset($param['merchantId']) && $param['merchantId']) { |
|
|
|
|
$filter[] = ['merchant_id', '=', $param['merchantId']]; |
|
|
|
|