|
|
@@ -929,6 +929,16 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
$where = [];
|
|
|
$where['shopId'] = $shopId;
|
|
|
+
|
|
|
+ if (!empty($get['customId'])) {
|
|
|
+ $where['customId'] = $get['customId'];
|
|
|
+ }
|
|
|
+ if (!empty($get['ids'])) {
|
|
|
+ $stringIds = $get['ids'];
|
|
|
+ $newIds = explode(',', $stringIds);
|
|
|
+ $where['id'] = ['in', $newIds];
|
|
|
+ }
|
|
|
+
|
|
|
$status = $get['status'] ?? 0;
|
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $get['status'];
|