Commit dd10c1a3 by Lem

球员足球排前

parent 9eca6384
......@@ -545,6 +545,7 @@ public class MatchServiceImpl implements MatchService {
long count = teamPlayerMapper.selectCount(wrapper);
int jumpNum = (commonPage.getPageNum() - 1) * commonPage.getPageSize();
wrapper.orderByAsc("sports_id");
wrapper.last(String.format(" limit %s,%s", jumpNum, commonPage.getPageSize()));
response.setOtherPlayer(new ResultPage<>(commonPage.getPageNum(), commonPage.getPageSize(), (int) count, new ArrayList<>()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment