@@ -48,10 +48,10 @@ |
||
48 | 48 | DB::table('institution_students as is') |
49 | 49 | ->join('security_users as su', 'su.id', 'is.student_id') |
50 | 50 | ->where('is.updated_from', 'doe') |
51 | - ->orWhere('su.updated_from','doe') |
|
51 | + ->orWhere('su.updated_from', 'doe') |
|
52 | 52 | ->groupBy('is.student_id') |
53 | 53 | ->orderBy('is.student_id') |
54 | - ->chunk($this->argument('limit'), function ($Students) use ($output) { |
|
54 | + ->chunk($this->argument('limit'), function($Students) use ($output) { |
|
55 | 55 | $output->writeln('###########################################------Start cleanning exam records------###########################################'); |
56 | 56 | foreach ($Students as $Student) { |
57 | 57 | $exist = Examination_student::where('nsid', $Student->openemis_no)->exist(); |