作者 邓超

优化

... ... @@ -38,7 +38,7 @@ class Job extends Base {
// 检查状态
if($list['status'] === 1){
$total = db()->count(\Model\sendJobStatusSql::countSum($list['id']));
$total = db()->first(\Model\sendJobStatusSql::countSum($list['id']));
if($total && $total['t'] == $list['total']){
// 更新状态
db()->update(\Model\sendJobsSql::$table,[
... ...