czt
2026-01-07 86e5b30bdc5505fdd446c0158867032c08f4f58e
监管大屏库区查询调整
已修改2个文件
11 ■■■■ 文件已修改
fzzy-igdss-web/src/main/java/com/fzzy/group/manager/GroupManager.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/resources/static/group/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fzzy-igdss-web/src/main/java/com/fzzy/group/manager/GroupManager.java
@@ -135,7 +135,7 @@
        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) {
@@ -225,7 +225,7 @@
        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());
        }
@@ -286,7 +286,7 @@
        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) {
@@ -379,7 +379,7 @@
                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());
fzzy-igdss-web/src/main/resources/static/group/index.js
@@ -76,7 +76,8 @@
        dataType: "json",
        contentType: "application/json;charset=UTF-8",
        data: JSON.stringify({
            "companyId": companyId
            "companyId": companyId,
            "deptId": deptId
        }),
        success: function (result) {
            if (result.code == "0000") {