ZQN
2024-09-04 d7cbeb2ed120af3db849aecfd89ac9b9980a60f1
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>