xiangpei
2024-09-04 3486499f56e487cd6df88a8fa2448ff72d72a1e0
ycl-server/src/main/java/com/ycl/calculate/CarDataIntegrityCalculation.java
@@ -108,7 +108,7 @@
    }
    /**
     * 车辆信息采集正确率
     * 车辆数据完整
     */
    private CheckIndexCar createOrUpdateCheckIndexCar(String key, AreaStats stats, List<CheckIndexCar> checkIndexCarList) {
        CheckIndexCar checkIndexCar = getCheckIndex(key, checkIndexCarList, CheckIndexCar.class);
@@ -116,13 +116,13 @@
            return null;
        }
        //调用计算方法
            Map<String, Object> param = new HashMap<>();
            param.put("totalSites", stats.totalSites);
            param.put("importantTotalSites", stats.importantTotalSites);
            param.put("integritySites", stats.integritySites);
            param.put("importantIntegritySites", stats.importantIntegritySites);
            BigDecimal dataIntegrity = dataIntegrity(param);
            checkIndexCar.setVehicleCaptureIntegrity(dataIntegrity);
        Map<String, Object> param = new HashMap<>();
        param.put("totalSites", stats.totalSites);
        param.put("importantTotalSites", stats.importantTotalSites);
        param.put("integritySites", stats.integritySites);
        param.put("importantIntegritySites", stats.importantIntegritySites);
        BigDecimal dataIntegrity = dataIntegrity(param);
        checkIndexCar.setVehicleCaptureIntegrity(dataIntegrity);
        return checkIndexCar;
    }