field("ml.*,(select update_money from table_site_level where level_id = ml.id and sass_id = " . $where['sassid'] ." ) as update_money") ->alias("ml") ->order($desc) ->paginate(['list_rows'=>$pageCount,'page'=>$page]) ->toArray(); // echo $this->getLastSql(); return [$data['total'],$data['data']]; } }