소스 검색

油站管理

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>