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

当前版本如何生成自定义主键id,关于put和delete除id之外的其他条件 #705

Open
shuaizqz opened this issue Apr 25, 2024 · 2 comments

Comments

@shuaizqz
Copy link

shuaizqz commented Apr 25, 2024

Description

1.如何自定义生成主键id

@shuaizqz
Copy link
Author

PUT请求,Oa_apply_info 里面不能缺少 id 等[id]内的任何字段!
DELETE请求,Oa_apply_info 里面不能缺少 id 等[id]内的任何字段!
这些是由request表中structure限制的吗

@TommyLemon
Copy link
Collaborator

TommyLemon commented Apr 27, 2024

AbstractVerifier.IS_UPDATE_MUST_HAVE_ID_CONDITION = false

/**为 PUT, DELETE 强制要求必须有 id/id{}/id{}@ 条件
*/
public static boolean IS_UPDATE_MUST_HAVE_ID_CONDITION = true;

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