Error


Invalid sql query.


in "select m.*, if(mv.path is null, m.path, mv.path) version_path, if (mv.ver is null, null, mv.ver) ver from map m left join map_version mv on m.id = mv.map_id and mv.status = 'active' order by m.sort_order"