|
|
@@ -862,6 +862,10 @@ class OrderController extends BaseController
|
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $get['status'];
|
|
|
}
|
|
|
+ $debt = $get['debt'] ?? 2;
|
|
|
+ if ($debt != 2) {
|
|
|
+ $where['debt'] = $debt;
|
|
|
+ }
|
|
|
if (isset($get['shopAdminId']) && !empty($get['shopAdminId'])) {
|
|
|
$where['shopAdminId'] = $get['shopAdminId'];
|
|
|
}
|