...
|
...
|
@@ -45,14 +45,14 @@ class sendJobStatusSql { |
|
|
|
|
|
/**
|
|
|
* job任务详情页
|
|
|
* @param int $jobId
|
|
|
* @param $where
|
|
|
* @param int $page
|
|
|
* @param int $limit
|
|
|
* @return string
|
|
|
*/
|
|
|
public static function detail(int $jobId, int $page = 1, int $limit = 20)
|
|
|
public static function detail($where, int $page = 1, int $limit = 20)
|
|
|
{
|
|
|
return "select * from `" . static::$table . "` where `job_id` = " . $jobId . " order by id desc limit {$limit} offset " . (($page - 1) * $limit);
|
|
|
return "select * from `" . static::$table . "` where " . $where . " order by id desc limit {$limit} offset " . (($page - 1) * $limit);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|