mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix attendance
This commit is contained in:
@@ -584,13 +584,13 @@ class ExamRepository extends BaseRepository
|
||||
try {
|
||||
$updateResult = $this->updateProgress($examUser);
|
||||
if ($updateResult) {
|
||||
do_log("$logPrefix, [UPDATE_SUCCESS_RETURN_DIRECTLY]");
|
||||
do_log("$logPrefix, [UPDATE_PROGRESS_SUCCESS_RETURN_DIRECTLY]");
|
||||
return $updateResult;
|
||||
} else {
|
||||
do_log("$logPrefix, [UPDATE_SUCCESS_FAIL]");
|
||||
do_log("$logPrefix, [UPDATE_PROGRESS_FAIL]");
|
||||
}
|
||||
} catch (\Exception $exception) {
|
||||
do_log("$logPrefix, [UPDATE_SUCCESS_FAIL]: " . $exception->getMessage(), 'error');
|
||||
do_log("$logPrefix, [UPDATE_PROGRESS_FAIL]: " . $exception->getMessage(), 'error');
|
||||
}
|
||||
$exam = $examUser->exam;
|
||||
$progress = $examUser->progress;
|
||||
|
||||
Reference in New Issue
Block a user