作者 朱世亮

发件任务详情添加发送状态逻辑判断优化

@@ -120,7 +120,7 @@ class Job extends Base { @@ -120,7 +120,7 @@ class Job extends Base {
120 $whereArray = [ 120 $whereArray = [
121 'job_id' => $jobId 121 'job_id' => $jobId
122 ]; 122 ];
123 - if ($status || $status === 0) { 123 + if ($status || $status === '0') {
124 $whereArray['status'] = $status; 124 $whereArray['status'] = $status;
125 } 125 }
126 $where = dbWhere($whereArray); 126 $where = dbWhere($whereArray);