nextId
This commit is contained in:
parent
200905d0bf
commit
ec7c717608
@ -132,12 +132,12 @@ class LogSync extends Command
|
|||||||
DB::rollback();
|
DB::rollback();
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$nextId = $value['id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
DB::commit();
|
DB::commit();
|
||||||
|
|
||||||
$nextId = $value['id'];
|
|
||||||
|
|
||||||
app(ConfigService::class)->set(self::CURSOR_KEY, $nextId);
|
app(ConfigService::class)->set(self::CURSOR_KEY, $nextId);
|
||||||
|
|
||||||
if ($page * $this->limit >= $total) {
|
if ($page * $this->limit >= $total) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user