|
@@ -129,7 +129,7 @@
|
|
and m.menu_type = 2
|
|
and m.menu_type = 2
|
|
and m.del_flag=0
|
|
and m.del_flag=0
|
|
<if test="parentId==null">
|
|
<if test="parentId==null">
|
|
- and m.parent_id is null
|
|
|
|
|
|
+ and (m.parent_id is null or m.parent_id='')
|
|
</if>
|
|
</if>
|
|
<if test="parentId!=null">
|
|
<if test="parentId!=null">
|
|
and m.parent_id = #{parentId}
|
|
and m.parent_id = #{parentId}
|