目录菜单 设置从小到大排序
This commit is contained in:
parent
aeea3645a8
commit
0af7ede907
@ -29,6 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="menuIcon != null and menuIcon != ''"> and menu_icon = #{menuIcon}</if>
|
<if test="menuIcon != null and menuIcon != ''"> and menu_icon = #{menuIcon}</if>
|
||||||
<if test="parentId != null "> and parent_id = #{parentId}</if>
|
<if test="parentId != null "> and parent_id = #{parentId}</if>
|
||||||
<if test="menuOrder != null "> and menu_order = #{menuOrder}</if>
|
<if test="menuOrder != null "> and menu_order = #{menuOrder}</if>
|
||||||
|
order BY menu_order ASC
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user