standard-server/src/main/resources/mapper/OrganizationalMapper.xml
@@ -11,4 +11,11 @@ <select id="OrganizationalTree" resultMap="OrganizationalMap"> SELECT o.id, o.`department` FROM organizational o where o.`father_id` = #{father_id} </select> <select id="getDepartmentListTable" resultType="map"> SELECT o.`id`, o.`department` FROM organizational o WHERE o.`father_id` = #{departmentId} AND o.`state` = 1 </select> </mapper>