heheng
2025-07-08 53153afbec438d582d79579390affc9b72ed3730
multi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -80,7 +80,7 @@
      <if test="status != null and status != ''">
         AND d.status = #{status}
      </if>
      order by d.parent_id, d.order_num
      order by  d.order_num,d.parent_id
    </select>
@@ -102,7 +102,7 @@
      <if test="status != null and status != ''">
         AND status = #{status}
      </if>
      order by d.parent_id, d.order_num
      order by  d.order_num,d.parent_id
   </select>