Points to note when sorting paging by time

Problem: The sorting condition is only time, and many of the time values ​​in the corresponding data are the same. Then, when paging, the data on the next page and the previous page may be the same. For example, if 100 pieces of data are written, every The page displays 10 items. In a paging interval, the query data returned may be the same

Solution: Add multiple sort fields, and pay attention to the values ​​of sort fields not too much the same

Guess you like

Origin blog.csdn.net/springlan/article/details/106234586