有关开窗函数 ROW_NUMBER 的通用 Mapper 实现#880
Open
LiuXianghai-coder wants to merge 2 commits intoabel533:masterfrom
Open
有关开窗函数 ROW_NUMBER 的通用 Mapper 实现#880LiuXianghai-coder wants to merge 2 commits intoabel533:masterfrom
LiuXianghai-coder wants to merge 2 commits intoabel533:masterfrom
Conversation
Owner
|
感谢PR,新扩展的方法建议独立发布,如果不方便推送到maven仓库,我可以建个组织统一管理。 发布后,我可以在项目首页添加相关的链接。 |
Author
|
tk.mybatis.mapper.test.able.TestBasicAble#testInsert 和 tk.mybatis.mapper.test.user.TestBasic#testInsert 操作的是同一个表,在进行数据插入测试时,在不同的操作系统调度下,后者可能会先于前者执行,从而导致前者的部分断言失效 |
Owner
|
这个函数不通用,直接包含到ExampleMapper不合适。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
由于业务经常需要获取最新的某些数据,因此我将 ROW_NUMBER 函数加入到了通用 Mapper 的实现中