This commit is contained in:
iVampireSP.com 2022-12-11 19:48:53 +08:00
parent d4b3ff6608
commit 72ac35a901
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -23,7 +23,7 @@ public function __construct()
*/
public function handle()
{
// closed replied after 1 days
WorkOrder::where('status', 'replied')->where('updated_at', '<=', now()->subDays())->update(['status' => 'closed']);
// closed replied after 1 day
WorkOrder::where('status', 'replied')->where('updated_at', '<=', now()->subDay())->update(['status' => 'closed']);
}
}