提交 6fb269d7 编写于 作者: 无难事者若执's avatar 无难事者若执

feat : id生成框架: 框架提供的id生成器默认order为 -1

上级 f1d2c842
package com.kx.utils.id.impl; package com.kx.utils.id.impl;
import com.kx.utils.id.IdGenerator; import com.kx.utils.id.IdGenerator;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.util.UUID; import java.util.UUID;
...@@ -10,6 +11,7 @@ import java.util.UUID; ...@@ -10,6 +11,7 @@ import java.util.UUID;
* @author kongxiang * @author kongxiang
*/ */
@Component @Component
@Order(-1)
public class LocalUuidGenerator implements IdGenerator { public class LocalUuidGenerator implements IdGenerator {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册