首页>代码>spring boot+mybatis-plus实现简单分页实例>/pagedemo/src/test/java/com/npf/pagedemo/PagedemoApplicationTests.java
package com.npf.pagedemo; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class PagedemoApplicationTests { @Test public void contextLoads() { // IPage<Log> logPage = new Page<Log>(); // // logPage.setSize(1000); // logPage.setCurrent(1); // // // IPage<List<Log>> listIPage = logMapper.selectListPage(logPage, log); //// logPage.setRecords(logs); // System.out.println(listIPage.getPages()); // String imgUploadPath = ProvidePath.getImgUploadPath(); } }


zhaoming200677 LV13
4月15日
oldfox LV19
2024年10月22日
f22m1a2b2 LV17
2024年5月30日
ma406805131 LV19
2024年5月11日
漫步的海星 LV4
2023年9月26日
飞呀飞呀飞不放 LV7
2023年8月8日
hbsoft2008 LV16
2023年2月17日
二锅头 LV11
2023年2月16日
wcy071213 LV27
2023年2月13日
5212991314
2022年10月26日
暂无贡献等级