...
|
...
|
@@ -45,6 +45,7 @@ class Screen extends Api |
|
|
$item['percent'] = $item['score'];
|
|
|
$item['study'] = db('study_ronda_score l')
|
|
|
->join('study s','l.sid = s.id')
|
|
|
->where('l.team_id',$item['team_id'])
|
|
|
->where('ronda_id',$item['ronda_id'])
|
|
|
->field('s.name,score as sum_score,l.*')
|
|
|
->order('score','desc')
|
...
|
...
|
|