作者 邓超

Merge remote-tracking branch 'origin/master'

@@ -41,7 +41,7 @@ class sendJobsSql { @@ -41,7 +41,7 @@ class sendJobsSql {
41 */ 41 */
42 public static function all(string $where,int $p=1,int $limit=20):string { 42 public static function all(string $where,int $p=1,int $limit=20):string {
43 $filed = '`id`,`success`,`title`,`created_at`,`error`,`total`,`stop`,`status`,`send_time`,`remark`'; 43 $filed = '`id`,`success`,`title`,`created_at`,`error`,`total`,`stop`,`status`,`send_time`,`remark`';
44 - return "select {$filed} from `".static::$table."` where ".$where." limit {$limit} offset ".(($p-1)*$limit); 44 + return "select {$filed} from `".static::$table."` where ".$where." order by id desc limit {$limit} offset ".(($p-1)*$limit);
45 } 45 }
46 46
47 /** 47 /**