|
|
@@ -183,8 +183,8 @@ class RefundController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$where = [];
|
|
|
$where['mainId'] = $this->mainId;
|
|
|
- $status = $get['status'] ?? '';
|
|
|
- if (is_numeric($status)) {
|
|
|
+ $status = $get['status'] ?? 0;
|
|
|
+ if ($status == 1) {
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
$string = $get['ids'];
|