liujie
2026-05-13 a3ed8b7950484a3498bf89af750376b0d7575753
加密
1个文件已修改
9 ■■■■■ 已修改文件
xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/service/impl/XpVehicleServiceImpl.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/service/impl/XpVehicleServiceImpl.java
@@ -423,6 +423,12 @@
        }
        String xpuid = xpuIdByVin.getData();
        xpVehicle.setXpuId(xpuid);
        String encryptVin = SensitiveDataCryptoUtil.encrypt(vin);
        xpVehicle.setVehicleVin(encryptVin);
        this.save(xpVehicle);
        if (isInfoComplete(xpVehicle)) {
            //如果信息完善则状态改为待运营
@@ -471,6 +477,9 @@
        } else {
            xpVehicle.setXpuId(existingVehicle.getXpuId());
        }
        String encryptVin = SensitiveDataCryptoUtil.encrypt(xpVehicle.getVehicleVin());
        xpVehicle.setVehicleVin(encryptVin);
        this.updateById(xpVehicle);
    }