Administrator
2021-07-22 33a072160eda4fa7cb22d330c2bfa9048ad6c0e9
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