* Adjust job unit test.

This commit is contained in:
zenggang
2023-12-12 09:08:23 +00:00
parent 59baaaf300
commit 08eff55ac2
7 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ class compileModel extends model
$response = common::http($url, '', array(CURLOPT_USERPWD => $userPWD));
if(!$response) return;
$jobInfo = json_decode($response);
$jobInfo = json_decode($response);
if(empty($jobInfo)) return;
$compilePairs = $this->dao->select('queue,job')->from(TABLE_COMPILE)->where('job')->eq($job->id)->andWhere('queue')->gt(0)->fetchPairs();