mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
unify bonus calculation
This commit is contained in:
@@ -126,11 +126,10 @@ class Test extends Command
|
||||
// $r = $rep->getContinuousDays($attendance);
|
||||
// $r = $rep->getContinuousPoints(11);
|
||||
|
||||
$data = DB::select('SHOW INDEX FROM peers');
|
||||
$array = [];
|
||||
foreach($data as $key => $item){
|
||||
dump($item);
|
||||
}
|
||||
$rep = new ExamRepository();
|
||||
$exam = Exam::query()->find(6);
|
||||
$r = $rep->fetchUserAndDoAssign($exam);
|
||||
dd($r);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user