tangzy
2021-08-27 03f42f3e256dbc2e0c4e9b7ce3cb6a85df7cf130
src/main/java/org/springblade/modules/system/mapper/DeptMapper.xml
@@ -124,8 +124,9 @@
        on
        si.departmentid = dept.id
        WHERE
        dept.parent_id = #{param2} AND dept.is_deleted = 0
        and dept_category = 1
        1=1
        and (stats = 1 or stats =2 or stats =4)
        AND dept.is_deleted = 0
        <if test="param1!=null and param1!=''">
            and si.jurisdiction = #{param1}
        </if>