From 03dc0bda693feaeb2fa684b70db52feea8ea65a7 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Tue, 06 May 2025 13:37:01 +0800
Subject: [PATCH] 增加专家导出字段
---
expert-system/src/main/resources/mapper/system/SysDeptMapper.xml | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/expert-system/src/main/resources/mapper/system/SysDeptMapper.xml b/expert-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 2f0479b..9e45e86 100644
--- a/expert-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/expert-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -46,6 +46,26 @@
${params.dataScope}
order by d.parent_id, d.order_num
</select>
+
+
+ <select id="getOutDeptList" parameterType="SysDept" resultMap="SysDeptResult">
+ <include refid="selectDeptVo"/>
+ where d.del_flag = '0'
+ <if test="deptId != null and deptId != 0">
+ AND dept_id = #{deptId}
+ </if>
+ <if test="parentId != null and parentId != 0">
+ AND parent_id = #{parentId}
+ </if>
+ <if test="deptName != null and deptName != ''">
+ AND dept_name like concat('%', #{deptName}, '%')
+ </if>
+ <if test="status != null and status != ''">
+ AND status = #{status}
+ </if>
+ order by d.parent_id, d.order_num
+ </select>
+
<select id="selectDeptListByRoleId" resultType="Long">
select d.dept_id
--
Gitblit v1.9.2