正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -112,7 +112,7 @@ class SyncInquiryProject extends Command | @@ -112,7 +112,7 @@ class SyncInquiryProject extends Command | ||
| 112 | } | 112 | } |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | - $ids = InquiryProject::where('date', '<', $date)->where('version', '<', InquiryProject::VERSION_SIX)->pluck('id')->toArrat(); | 115 | + $ids = InquiryProject::where('date', '<', $date)->where('version', '<', InquiryProject::VERSION_SIX)->pluck('id')->toArray(); |
| 116 | $this->deleteExpire($ids); | 116 | $this->deleteExpire($ids); |
| 117 | 117 | ||
| 118 | return true; | 118 | return true; |
| @@ -146,7 +146,7 @@ class SyncInquiryProject extends Command | @@ -146,7 +146,7 @@ class SyncInquiryProject extends Command | ||
| 146 | $this->pushTask($project->id); | 146 | $this->pushTask($project->id); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | - $ids = InquiryProject::where('date', '<', $date)->where('version', '=', InquiryProject::VERSION_SIX)->pluck('id')->toArrat(); | 149 | + $ids = InquiryProject::where('date', '<', $date)->where('version', '=', InquiryProject::VERSION_SIX)->pluck('id')->toArraty(); |
| 150 | $this->deleteExpire($ids); | 150 | $this->deleteExpire($ids); |
| 151 | 151 | ||
| 152 | return true; | 152 | return true; |
-
请 注册 或 登录 后发表评论