wuxw
2025-03-12 b0dc3d8901a032f7f1b3d6e4cae25f92815c0de4
service-report/src/main/java/com/java110/report/dao/impl/ReportCommunityServiceDaoImpl.java
@@ -156,15 +156,42 @@
    }
    @Override
    public List<Map> queryCommunityInspectionTree(Map info) {
        logger.debug("查询queryCommunityInspectionTree信息 入参 info : {}", JSONObject.toJSONString(info));
        List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryCommunityInspectionTree", info);
        return infos;
    }
    @Override
    public List<Map> queryCommunityFloorTree(Map info) {
        logger.debug("查询queryCommunityFloorTree信息 入参 info : {}", JSONObject.toJSONString(info));
        List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryCommunityFloorTree", info);
        return infos;
    }
    @Override
    public List<Map> queryCommunityMachineTypeTree(Map info) {
        logger.debug("查询 queryCommunityMachineTypeTree 信息 入参 info : {}", JSONObject.toJSONString(info));
        List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryCommunityMachineTypeTree", info);
        return infos;
    }
    @Override
    public int queryHisOwnerCarCount(Map info) {
        logger.debug("查询车辆管理数据 入参 info : {}", info);
        List<Map> businessOwnerCarInfos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryHisOwnerCarCount", info);
        if (businessOwnerCarInfos.size() < 1) {
        List<Map> infos = sqlSessionTemplate.selectList("reportCommunityServiceDaoImpl.queryHisOwnerCarCount", info);
        if (infos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(businessOwnerCarInfos.get(0).get("count").toString());
        return Integer.parseInt(infos.get(0).get("count").toString());
    }
    @Override