正在显示
1 个修改的文件
包含
1 行增加
和
4 行删除
@@ -113,7 +113,7 @@ class Job extends Base { | @@ -113,7 +113,7 @@ class Job extends Base { | ||
113 | $limit = app()->request('limit', 20, 'intval'); | 113 | $limit = app()->request('limit', 20, 'intval'); |
114 | $jobId = app()->request('id', 0, 'intval'); | 114 | $jobId = app()->request('id', 0, 'intval'); |
115 | $status = app()->request('status'); | 115 | $status = app()->request('status'); |
116 | - $isExport = false; | 116 | + $isExport = app()->request('is_export', 0); |
117 | 117 | ||
118 | if (!$jobId) { | 118 | if (!$jobId) { |
119 | app()->e('send_job_id_null_error'); | 119 | app()->e('send_job_id_null_error'); |
@@ -124,9 +124,6 @@ class Job extends Base { | @@ -124,9 +124,6 @@ class Job extends Base { | ||
124 | if ($status || $status === '0') { | 124 | if ($status || $status === '0') { |
125 | $whereArray['status'] = $status; | 125 | $whereArray['status'] = $status; |
126 | } | 126 | } |
127 | - if (app()->request('is_export', 0)) { | ||
128 | - $isExport = true; | ||
129 | - } | ||
130 | $where = dbWhere($whereArray); | 127 | $where = dbWhere($whereArray); |
131 | 128 | ||
132 | $lists = db()->all(sendJobStatusSql::detail($where, $page, $limit, $isExport)); | 129 | $lists = db()->all(sendJobStatusSql::detail($where, $page, $limit, $isExport)); |
-
请 注册 或 登录 后发表评论