|
|
|
@ -38,10 +38,10 @@ class OrderRefund extends OrderRefundModel |
|
|
|
|
// 检索查询条件 |
|
|
|
|
$filter = $this->getFilter($param); |
|
|
|
|
//不是店长查询当前用户订单 |
|
|
|
|
if(!UserService::isStore()) { |
|
|
|
|
$filter[] = ['user.user_id' ,'=', UserService::getCurrentLoginUserId() ]; |
|
|
|
|
} |
|
|
|
|
$filterOr = []; |
|
|
|
|
// if(!UserService::isStore()) { |
|
|
|
|
// $filter[] = ['user.user_id' ,'=', UserService::getCurrentLoginUserId() ]; |
|
|
|
|
// } |
|
|
|
|
$filterOr = [];Ne |
|
|
|
|
if (!empty($param['searchValue']) && $param['searchType'] == 'all') { |
|
|
|
|
// $filterOr = [ |
|
|
|
|
// ['order.order_no', 'like', "%{$param['searchValue']}%"], |
|
|
|
|