project-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -43,7 +43,9 @@ AND status = #{status} </if> <!-- 数据范围过滤 --> ${params.dataScope} <if test="params != null and params.dataScope != null and params.dataScope != ''"> AND ${params.dataScope} </if> order by d.parent_id, d.order_num </select> @@ -156,4 +158,7 @@ update sys_dept set del_flag = '2' where dept_id = #{deptId} </delete> <select id="getApplyDeptIdsByLoginUserId" resultType="Long"> select dept_id from sys_user_dept where user_id = #{userId} </select> </mapper>