改进
This commit is contained in:
parent
d4b3ff6608
commit
72ac35a901
@ -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']);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user