Update Queue.php

This commit is contained in:
Anyon 2020-04-02 18:40:02 +08:00
parent 074037d33c
commit 96493a01eb

View File

@ -66,7 +66,7 @@ class Queue extends Controller
$this->iswin = ProcessService::instance()->iswin();
// 任务列表查询分页处理
$query = $this->_query($this->table)->dateBetween('create_at')->timeBetween('enter_time,exec_time');
$query->like('code,title,command')->equal('status')->order('id desc')->page();
$query->like('code,title,command')->equal('status')->order('loops_time desc,id desc')->page();
}
/**