-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
将实体主键改为雪花算法 #287
Labels
Milestone
Comments
已在分支 /dev/snow 提供实现 |
建议将雪花id的workerId暴露出来可以配置,目前是写死的 |
@waleswood 这个用的是TryAddSingleton,只要你在这个之前注册一个 |
是的,我也可以移除再添加。不过我觉得这样不够优雅 |
您好,邮件已收到
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您的功能请求与现有问题有关吗?请描述
描述您想要的需求方案
将实体主键类型更改为long类型,使用雪花算法给值,应用库:https://github.com/yitter/IdGenerator
The text was updated successfully, but these errors were encountered: