| | |
| | | String vin = xpVehicle.getVehicleVin(); |
| | | R<String> xpuIdByVin = xpuVinClient.getXpuIdByVin(vin); |
| | | if(200 != xpuIdByVin.getCode()){ |
| | | throw new RuntimeException(xpuIdByVin.getMsg()); |
| | | throw new ServiceException(xpuIdByVin.getMsg()); |
| | | } |
| | | String xpuid = xpuIdByVin.getData(); |
| | | xpVehicle.setXpuId(xpuid); |
| | |
| | | String vin = xpVehicle.getVehicleVin(); |
| | | R<String> xpuIdByVin = xpuVinClient.getXpuIdByVin(vin); |
| | | if(200 != xpuIdByVin.getCode()){ |
| | | throw new RuntimeException(xpuIdByVin.getMsg()); |
| | | throw new ServiceException(xpuIdByVin.getMsg()); |
| | | } |
| | | String xpuid = xpuIdByVin.getData(); |
| | | xpVehicle.setXpuId(xpuid); |