|
|
|
@ -47,6 +47,8 @@ public class DeptServiceImpl implements IDeptService
|
|
|
|
|
List<Dept> deptList = deptDao.selectDeptAll();
|
|
|
|
|
|
|
|
|
|
for (Dept dept : deptList)
|
|
|
|
|
{
|
|
|
|
|
if (UserConstants.DEPT_NORMAL == dept.getStatus())
|
|
|
|
|
{
|
|
|
|
|
Map<String, Object> deptMap = new HashMap<String, Object>();
|
|
|
|
|
deptMap.put("id", dept.getDeptId());
|
|
|
|
@ -54,6 +56,7 @@ public class DeptServiceImpl implements IDeptService
|
|
|
|
|
deptMap.put("name", dept.getDeptName());
|
|
|
|
|
trees.add(deptMap);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return trees;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|