fix: 菜单管理接口,新增查询参数。
This commit is contained in:
@@ -44,6 +44,9 @@
|
|||||||
<if test="status != null and status != ''">
|
<if test="status != null and status != ''">
|
||||||
AND status = #{status}
|
AND status = #{status}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="menuType != null and menuType != ''">
|
||||||
|
AND menu_type = #{menuType}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by parent_id, order_num
|
order by parent_id, order_num
|
||||||
</select>
|
</select>
|
||||||
@@ -70,6 +73,9 @@
|
|||||||
<if test="status != null and status != ''">
|
<if test="status != null and status != ''">
|
||||||
AND m.status = #{status}
|
AND m.status = #{status}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="menuType != null and menuType != ''">
|
||||||
|
AND m.menu_type = #{menuType}
|
||||||
|
</if>
|
||||||
order by m.parent_id, m.order_num
|
order by m.parent_id, m.order_num
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user