alias('m') ->join('ls_plug as p on p.id=m.plug_id') ->field($fields) ->where($where) ->select(); return $list; } }