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

有关开窗函数 ROW_NUMBER 的通用 Mapper 实现 #880

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LiuXianghai-coder
Copy link

由于业务经常需要获取最新的某些数据,因此我将 ROW_NUMBER 函数加入到了通用 Mapper 的实现中

@abel533
Copy link
Owner

abel533 commented Apr 23, 2023

感谢PR,新扩展的方法建议独立发布,如果不方便推送到maven仓库,我可以建个组织统一管理。

发布后,我可以在项目首页添加相关的链接。

@LiuXianghai-coder
Copy link
Author

tk.mybatis.mapper.test.able.TestBasicAble#testInsert 和 tk.mybatis.mapper.test.user.TestBasic#testInsert 操作的是同一个表,在进行数据插入测试时,在不同的操作系统调度下,后者可能会先于前者执行,从而导致前者的部分断言失效

@abel533
Copy link
Owner

abel533 commented Apr 6, 2024

这个函数不通用,直接包含到ExampleMapper不合适。

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

Successfully merging this pull request may close these issues.

None yet

2 participants