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

crud时默认createTime排序问题 #55

Open
nobu121 opened this issue Dec 17, 2021 · 2 comments
Open

crud时默认createTime排序问题 #55

nobu121 opened this issue Dec 17, 2021 · 2 comments

Comments

@nobu121
Copy link

nobu121 commented Dec 17, 2021

crud时默认会有createTime的排序,多数据库开发时,已存在多数据库表里可能没有createTime这个字段,查询就会出错,所以能不能在装饰器里加个开关,默认开启排序,也可以手动关闭呢

@addedjacky
Copy link

有点操蛋,这个设定

@imagebody
Copy link

而且createTime还是驼峰命名的,想改成create_time也不行,因为BaseEntity在midway-core里没有开源。

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

3 participants