소스 검색

修改 報到截止時間

maa3520 2 년 전
부모
커밋
3982fb799e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()