{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"itemId":"dataprovider1","type":"tree","sql":"select DEPT_NAME as \"text\",DEPT_NAME,DEPT_ID,PARENT_DEPT,\ncase when (select count(*) from WB_EMPLOYEE_DEPT b where b.PARENT_DEPT=a.DEPT_ID)>0 then null else '[]' end as \"children\"\nfrom WB_EMPLOYEE_DEPT a where PARENT_DEPT={?parentDept?} order by ORDER_INDEX"},"expanded":false,"children":[],"type":"dataprovider"}],"type":"module"}],"roles":{"demo":1},"title":"获取部门树","iconCls":"","inframe":false,"pageLink":""}