xp-robotaxi-automatic-pilot-boot/src/main/java/com/xiaopeng/automaticPilot/config/SnowflakeConfig.java
@@ -23,7 +23,7 @@ @Value("${snowflake.data-center-id:0}") private long dataCenterId; @Bean @Bean("hutoolSnowflake") public Snowflake snowflake() { long resolvedWorkerId = resolveWorkerId(); return new Snowflake(EPOCH_DATE, resolvedWorkerId, dataCenterId, false); xp-robotaxi-automatic-pilot-boot/src/main/java/com/xiaopeng/automaticPilot/controller/OrderMissionController.java
@@ -30,6 +30,7 @@ import com.xiaopeng.common.redis.service.RedisService; import io.swagger.annotations.Api; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.geo.Point; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.geo.GeoJsonPoint; @@ -58,7 +59,7 @@ private RedisService redisService; @Resource private XpVehicleClient xpVehicleClient; @Resource @Resource(name = "hutoolSnowflake") private Snowflake snowflake; @PostMapping("/inner/pushOrder") xp-robotaxi-automatic-pilot-boot/src/main/java/com/xiaopeng/automaticPilot/service/KafkaConsumerService.java
@@ -45,6 +45,7 @@ import com.xiaopeng.common.core.utils.uuid.UUID; import com.xiaopeng.common.redis.service.RedisService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.geo.Point; import org.springframework.data.mongodb.core.MongoTemplate; @@ -104,7 +105,7 @@ @Resource private XpCruisePlanClient xpCruisePlanClient; @Resource @Resource(name = "hutoolSnowflake") private Snowflake snowflake; @Value("${robotaxi.appId:xp_robotaxi_api}")