正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -45,14 +45,14 @@ class sendJobStatusSql { | @@ -45,14 +45,14 @@ class sendJobStatusSql { | ||
| 45 | 45 | ||
| 46 | /** | 46 | /** | 
| 47 | * job任务详情页 | 47 | * job任务详情页 | 
| 48 | - * @param int $jobId | 48 | + * @param $where | 
| 49 | * @param int $page | 49 | * @param int $page | 
| 50 | * @param int $limit | 50 | * @param int $limit | 
| 51 | * @return string | 51 | * @return string | 
| 52 | */ | 52 | */ | 
| 53 | - public static function detail(int $jobId, int $page = 1, int $limit = 20) | 53 | + public static function detail($where, int $page = 1, int $limit = 20) | 
| 54 | { | 54 | { | 
| 55 | - return "select * from `" . static::$table . "` where `job_id` = " . $jobId . " order by id desc limit {$limit} offset " . (($page - 1) * $limit); | 55 | + return "select * from `" . static::$table . "` where " . $where . " order by id desc limit {$limit} offset " . (($page - 1) * $limit); | 
| 56 | } | 56 | } | 
| 57 | 57 | ||
| 58 | 58 | 
- 
请 注册 或 登录 后发表评论