正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -211,6 +211,8 @@ class SendJob { | @@ -211,6 +211,8 @@ class SendJob { | ||
| 211 | $this->cnum--; | 211 | $this->cnum--; |
| 212 | // 验证是否完成 | 212 | // 验证是否完成 |
| 213 | if($data['maildata']['massSuit']??0){ | 213 | if($data['maildata']['massSuit']??0){ |
| 214 | + $dst = db()->first(\Model\sendJobsSql::isStatus($data['id'])); | ||
| 215 | + if($dst && $dst['status'] != 3){ | ||
| 214 | $total = db()->first(\Model\sendJobStatusSql::countSum($data['id'])); | 216 | $total = db()->first(\Model\sendJobStatusSql::countSum($data['id'])); |
| 215 | if($total){ | 217 | if($total){ |
| 216 | // 更新状态 | 218 | // 更新状态 |
| @@ -220,7 +222,7 @@ class SendJob { | @@ -220,7 +222,7 @@ class SendJob { | ||
| 220 | 'error' => $total['e'], | 222 | 'error' => $total['e'], |
| 221 | ],dbWhere(['id'=>$data['id']])); | 223 | ],dbWhere(['id'=>$data['id']])); |
| 222 | } | 224 | } |
| 223 | - | 225 | + } |
| 224 | } | 226 | } |
| 225 | 227 | ||
| 226 | // 写入日志 | 228 | // 写入日志 |
-
请 注册 或 登录 后发表评论