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