更新
This commit is contained in:
parent
44a06e0be0
commit
135912b9a1
@ -225,7 +225,9 @@ class StoreOrderDao extends BaseDao
|
|||||||
$wheres['source'] = [2, 103];
|
$wheres['source'] = [2, 103];
|
||||||
$query->where($wheres);
|
$query->where($wheres);
|
||||||
} else {
|
} else {
|
||||||
$query->where('activity_type', $where['product_type']);
|
if(isset($where['product_type']) && $where['product_type'] !== ''){
|
||||||
|
$query->where('activity_type', $where['product_type']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user