|
@@ -5000,7 +5000,10 @@ class StoreOrderRepository extends BaseRepository
|
|
5000
|
{
|
5000
|
{
|
|
5001
|
$status = $where['status'];
|
5001
|
$status = $where['status'];
|
|
5002
|
unset($where['status']);
|
5002
|
unset($where['status']);
|
|
5003
|
- $query_search = $this->dao->search($where)->when(isset($where['order_ids']) && $where['order_ids'] != '', function ($q) use ($where) {
|
|
|
|
|
|
5003
|
+ $query_search = $this->dao->search($where)
|
|
|
|
5004
|
+ // 屏蔽测试账号
|
|
|
|
5005
|
+ ->whereNotIn('uid', [766, 783, 6])
|
|
|
|
5006
|
+ ->when(isset($where['order_ids']) && $where['order_ids'] != '', function ($q) use ($where) {
|
|
5004
|
$q->whereIn('order_id', $where['order_ids']);
|
5007
|
$q->whereIn('order_id', $where['order_ids']);
|
|
5005
|
});
|
5008
|
});
|
|
5006
|
|
5009
|
|