作者 朱世亮

发件任务详情查询优化

@@ -124,7 +124,7 @@ class Job extends Base { @@ -124,7 +124,7 @@ class Job extends Base {
124 $lists = db()->all(sendJobStatusSql::detail($where, $page, $limit)); 124 $lists = db()->all(sendJobStatusSql::detail($where, $page, $limit));
125 125
126 return listsPage($lists, 126 return listsPage($lists,
127 - db()->count(sendJobStatusSql::count($where)) 127 + db()->count(sendJobStatusSql::count($jobId))
128 , 1, 20); 128 , 1, 20);
129 } 129 }
130 130