From db4d432c3219d9d29559e1bb945496c18e297886 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期二, 06 八月 2024 10:07:46 +0800
Subject: [PATCH] fix:成绩导出,参考人重复bug修复

---
 src/main/resources/mapper/DepartmentMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/DepartmentMapper.xml b/src/main/resources/mapper/DepartmentMapper.xml
index 598c2a5..a698ca9 100644
--- a/src/main/resources/mapper/DepartmentMapper.xml
+++ b/src/main/resources/mapper/DepartmentMapper.xml
@@ -27,9 +27,6 @@
             <if test="name != null">
                 name = #{name,jdbcType=VARCHAR},
             </if>
-            <if test="adminId != null">
-                admin_id = #{adminId},
-            </if>
             <if test="deleted != null">
                 deleted = #{deleted,jdbcType=VARCHAR},
             </if>
@@ -173,4 +170,8 @@
         temp_table
     </select>
 
+    <select id="getLevelDeptList" resultType="com.mindskip.xzs.domain.vo.CascaderDataVO">
+        SELECT id as value, name as label, parent_id, special, level FROM t_department WHERE level = #{level}
+    </select>
+
 </mapper>

--
Gitblit v1.8.0