防止操作跳到页面顶端

This commit is contained in:
RuoYi
2019-05-13 19:03:32 +08:00
parent 7662c1eeab
commit 0bad889607
19 changed files with 43 additions and 46 deletions

View File

@ -76,10 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectChildrenDeptById" parameterType="Long" resultMap="SysDeptResult">
select * from sys_dept
<where>
FIND_IN_SET(#{id},ancestors)
</where>
select * from sys_dept where find_in_set(#{deptId}, ancestors)
</select>
<insert id="insertDept" parameterType="SysDept">