|
@@ -50,7 +50,7 @@ |
|
|
block discarded – undo |
|
50
|
50
|
->where('is.updated_from', 'doe') |
|
51
|
51
|
->groupBy('is.student_id') |
|
52
|
52
|
->orderBy('is.student_id') |
|
53
|
|
- ->chunk($this->argument('limit'), function ($Students) use ($output) { |
|
|
53
|
+ ->chunk($this->argument('limit'), function($Students) use ($output) { |
|
54
|
54
|
$output->writeln('###########################################------Start cleanning exam records------###########################################'); |
|
55
|
55
|
foreach ($Students as $Student) { |
|
56
|
56
|
$exist = Examination_student::where('nsid', $Student->openemis_no)->exist(); |
Please login to merge, or discard this patch.