菜单管理->修改、新增时路由地址唯一性检验

This commit is contained in:
2025-12-18 10:20:52 +08:00
parent 515f03a5cd
commit 1e6a5972b9
4 changed files with 46 additions and 8 deletions

View File

@@ -174,6 +174,11 @@
and rm.role_id = #{roleId}
</select>
<select id="selectMenuByPath" parameterType="String" resultMap="SysMenuResult">
<include refid="selectMenuVo"/>
where path = #{path}
</select>
<select id="selectMenuById" parameterType="Long" resultMap="SysMenuResult">
<include refid="selectMenuVo"/>
where menu_id = #{menuId}