Commit c86e7cbe by guojuxing

判断页面code重复sql修复

parent 7224614c
......@@ -395,9 +395,9 @@
<select id="countByMenuCode" resultType="int">
SELECT count(1) from tab_sys_menu
where status = 1
menu_code = #{menuCode}
and menu_code = #{menuCode}
<if test="menuId != null">
menu_id &lt;&gt; #{menuId}
and menu_id &lt;&gt; #{menuId}
</if>
</select>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment