diff --git a/src/main/java/com/kx/utils/id/impl/LocalUuidGenerator.java b/src/main/java/com/kx/utils/id/impl/LocalUuidGenerator.java index 041bc32496b45bf28aba9b2c7e30dab61e46f36e..fb5126e811e6cc0b76605f7c70d2bd7ee24f7d52 100644 --- a/src/main/java/com/kx/utils/id/impl/LocalUuidGenerator.java +++ b/src/main/java/com/kx/utils/id/impl/LocalUuidGenerator.java @@ -1,6 +1,7 @@ package com.kx.utils.id.impl; import com.kx.utils.id.IdGenerator; +import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import java.util.UUID; @@ -10,6 +11,7 @@ import java.util.UUID; * @author kongxiang */ @Component +@Order(-1) public class LocalUuidGenerator implements IdGenerator {