H&R inspect time unreach do not update

This commit is contained in:
xiaomlove
2022-03-28 21:08:00 +08:00
parent cd7fe1704f
commit f2fe206d13

View File

@@ -106,9 +106,11 @@ class HitAndRunRepository extends BaseRepository
}
//unreached
$result = $this->unreached($row);
if ($result) {
$successCounts++;
if ($row->added->addHours($setting['inspect_time'])->lte(Carbon::now())) {
$result = $this->unreached($row);
if ($result) {
$successCounts++;
}
}
}
$page++;