cursor-iterator icon indicating copy to clipboard operation
cursor-iterator copied to clipboard

这里可以先取出第一个,判断id是否和start相同,相同再删除,不同的话就删除最后一个。防止在上次获取处理的过程中,最后一条数据被物理删除。

Open xingqiqianwu opened this issue 7 years ago • 1 comments

https://github.com/PhantomThief/cursor-iterator/blob/31f1a804b849b6d44cdc03c217ca71f2dca83bf1/src/main/java/com/github/phantomthief/util/PageScroller.java#L40

xingqiqianwu avatar Sep 19 '18 07:09 xingqiqianwu

这件事是不是应该交给业务实现者做会更好?

PhantomThief avatar Oct 18 '18 02:10 PhantomThief