|
...
|
...
|
@@ -112,7 +112,7 @@ class SyncInquiryProject extends Command |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$ids = InquiryProject::where('date', '<', $date)->where('version', '<', InquiryProject::VERSION_SIX)->pluck('id')->toArrat();
|
|
|
|
$ids = InquiryProject::where('date', '<', $date)->where('version', '<', InquiryProject::VERSION_SIX)->pluck('id')->toArray();
|
|
|
|
$this->deleteExpire($ids);
|
|
|
|
|
|
|
|
return true;
|
|
...
|
...
|
@@ -146,7 +146,7 @@ class SyncInquiryProject extends Command |
|
|
|
$this->pushTask($project->id);
|
|
|
|
}
|
|
|
|
|
|
|
|
$ids = InquiryProject::where('date', '<', $date)->where('version', '=', InquiryProject::VERSION_SIX)->pluck('id')->toArrat();
|
|
|
|
$ids = InquiryProject::where('date', '<', $date)->where('version', '=', InquiryProject::VERSION_SIX)->pluck('id')->toArraty();
|
|
|
|
$this->deleteExpire($ids);
|
|
|
|
|
|
|
|
return true;
|
...
|
...
|
|