save updates
This commit is contained in:
1 parent
3671902fe7
commit
046407df18
36 files changed
+261
-305
No files matched your search
@@ -8,6 +8,7 @@ use App\Console\Commands\Grapper\Logifuture\Tools\LogifutureStoreTotals;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Models\Odds2way;
|
||||
use App\Models\Odds2wayS1;
|
||||
use App\Utilities\DatabaseFunctions;
|
||||
use App\Utilities\Margin;
|
||||
|
||||
class Tennis
|
||||
@@ -84,7 +85,9 @@ class Tennis
|
||||
$res->a2w = number_format($ml['a2w'], 2);
|
||||
$res->flags = 1;
|
||||
$res->margin = $ml['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +106,9 @@ class Tennis
|
||||
$res->a2w = number_format($ml['a2w'], 2);
|
||||
$res->flags = 1;
|
||||
$res->margin = $mls1['margin'];
|
||||
$res->save();
|
||||
|
||||
DatabaseFunctions::save_update($res);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user