...
|
...
|
@@ -253,7 +253,7 @@ class Simulation extends Api |
|
|
->where('q.target_id',$simulation_id)
|
|
|
->where('q.target_type','2')
|
|
|
->where('qa.is_wrong','0')
|
|
|
->sum('q.id');
|
|
|
->count('q.id');
|
|
|
$right_rate = !empty($right_count) ? bcdiv($right_count,count($list),4) * 100 : 0;
|
|
|
// 记录结果
|
|
|
$result = SimulationResult::create([
|
...
|
...
|
|