From 8f5a4a882870ce0dcfbdb5716b55ec55887924d6 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期一, 01 九月 2025 18:12:30 +0800
Subject: [PATCH] 接口题目层增加answerps字段
---
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 6830b7a..f975fe8 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -77,9 +77,12 @@
<if test="hisParentId != null and hisParentId != ''">
AND his_parent_id = #{hisParentId}
</if>
+ <if test="orgid != null and orgid != ''">
+ AND orgid = #{orgid}
+ </if>
<!-- 鏁版嵁鑼冨洿杩囨护 -->
${params.dataScope}
- order by d.parent_id, d.order_num
+ order by d.dept_type asc, d.parent_id, d.order_num
</select>
<select id="selectDeptListByRoleId" resultType="Long">
--
Gitblit v1.9.3