unify bonus calculation

This commit is contained in:
xiaomlove
2022-04-20 00:52:12 +08:00
parent 63e894abda
commit b96e248083
6 changed files with 142 additions and 77 deletions
+4 -5
View File
@@ -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);
}