| | |
| | | |
| | | List<GroupDeptData> list = new ArrayList<>(); |
| | | GroupDeptData deptData; |
| | | List<Dept> deptList = deptService.getDeptData(); |
| | | List<Dept> deptList = deptService.getDeptByUserType(null); |
| | | if (null != deptList && !deptList.isEmpty()) { |
| | | List<Depot> depotList; |
| | | for (Dept dept : deptList) { |
| | |
| | | indexData.setCompanyNum(companyNum); |
| | | |
| | | //库区数 |
| | | List<Dept> deptList = deptService.listDept(null, param.getCompanyId(), null); |
| | | List<Dept> deptList = deptService.getDeptByUserType(null); |
| | | if (null != deptList) { |
| | | indexData.setDeptNum(deptList.size()); |
| | | } |
| | |
| | | |
| | | List<GroupDeptData> list = new ArrayList<>(); |
| | | GroupDeptData deptData; |
| | | List<Dept> deptList = deptService.getDeptData(); |
| | | List<Dept> deptList = deptService.getDeptByUserType(null); |
| | | if (null != deptList && !deptList.isEmpty()) { |
| | | List<Depot> depotList; |
| | | for (Dept dept : deptList) { |
| | |
| | | namePieChart.put(dicArea.getCode(), dicArea.getName()); |
| | | } |
| | | } |
| | | List<Dept> deptList = deptService.getDeptData(); |
| | | List<Dept> deptList = deptService.getDeptByUserType(null); |
| | | if (null != deptList && !deptList.isEmpty()) { |
| | | //库区总数 |
| | | groupGisData.setDeptNum(deptList.size()); |