Skip to content
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

项目中引入了sharding-jdbc,用的分片键不是id(主键),而是order_id(业务主键)这种,那tkMapper如何扩展根据orderId作为主键去查询 #867

Open
itcast-wzj opened this issue Sep 27, 2022 · 1 comment

Comments

@itcast-wzj
Copy link

No description provided.

@abel533
Copy link
Owner

abel533 commented Nov 26, 2022

既有id又有order_id,想让order_id作为id去查询?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants