XML

<resultMap />   
</resultMap>  

SQL

select     t.*  from menu t left join menu s   
    on t.id = s.parentid    
where t.layer=1 order by t.position, s.position   


 


 

 

相关文章: