Browse Source

修改 報到截止時間

maa3520 2 years ago
parent
commit
3982fb799e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/DrawController.php

+ 1 - 1
app/Http/Controllers/DrawController.php

@@ -30,7 +30,7 @@ class DrawController extends Controller
             $users = CheckIn::where('activity_id', $request->activity_id)
                 ->where('is_checked_in', 'true')
                 ->where('is_awarded', 'false')
-                // ->whereTime('check_ins.updated_at', '<=', $activity->deadline)
+                ->whereTime('check_ins.updated_at', '<=', $activity->deadline)
                 ->whereIn('region', $request->region)
                 ->join('departments', 'check_ins.department_id', '=', 'departments.department_id')
                 ->inRandomOrder()