zengh
2021-07-18 79fd809def5eddd638878d9f901e6d04ec36a66a
问题修复
1 files modified
2 ■■■■■ changed files
src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml 2 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
@@ -151,6 +151,7 @@
                        dept.is_deleted = 0
                    <if test="parentId!=null and parentId!=''">
                        and dept_category=1
                        AND dept.id = #{parentId}
                    </if>
            )
@@ -171,6 +172,7 @@
                where 1=1
                <if test="parentId!=null and parentId!=''">
                    and dept_category=1
                    AND bu.dept_id = #{parentId}
                </if>
            )
        )c