|
|
@@ -123,7 +123,7 @@ class ReceivingTaskService
|
|
|
*/
|
|
|
public function overtimeToCompleteTask()
|
|
|
{
|
|
|
- $yesterday = Carbon::now()->subDays(1)->format("Ym--d");
|
|
|
+ $yesterday = Carbon::now()->subDays(1)->format("Y-m-d");
|
|
|
ReceivingTask::query()
|
|
|
->where('created_at', '>=', $yesterday . ' 00:00:00')
|
|
|
->where('created_at', '<=', $yesterday . ' 23:59:59')
|