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