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

请问一下这种情况怎么解决? #783

Open
pbw-langwang opened this issue Dec 3, 2024 · 2 comments
Open

请问一下这种情况怎么解决? #783

pbw-langwang opened this issue Dec 3, 2024 · 2 comments

Comments

@pbw-langwang
Copy link

Description

image

就是后端将T_customer_project_apply的创建人、操作人id都存起来了,但是创建人、操作人都是去和User表联查,不知道怎么解决了!

@TommyLemon
Copy link
Collaborator

TommyLemon commented Dec 8, 2024

@pbw-langwang
JSON key 不允许重名。
APIJSON 表名支持 Table:alias 取别名。
你的这个需求应该是创建人、操作人各需要一个表对象,例如 User:creator 和 User:operator

@pbw-langwang
Copy link
Author

感谢指点

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

No branches or pull requests

2 participants