MS-QJVSRANLTYEO\Administrator 4 سال پیش
والد
کامیت
bcde471490
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      Yijia-SaaS/yijia-system/src/main/resources/mapper/system/SysDeptMapper.xml

+ 4 - 1
Yijia-SaaS/yijia-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -81,7 +81,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 	    <include refid="selectDeptVo"/>
 		where dept_name=#{deptName} and parent_id = #{parentId} limit 1
 	</select>
-    
+    <!--调用存储过程-->
+	<select id="selectDeptListTree" resultMap="SysDeptResult">
+		call deptinfo();
+	</select>
     <insert id="insertDept" parameterType="SysDept">
  		insert into sys_dept(
  			<if test="deptId != null and deptId != 0">dept_id,</if>