会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yingx
博客园
首页
新随笔
联系
订阅
管理
2022年3月14日
1111
摘要: package com.first.springboot.util; import com.alibaba.excel.EasyExcel; import com.alibaba.excel.ExcelWriter; import com.alibaba.excel.write.builder.Ex
阅读全文
posted @ 2022-03-14 01:17 yingx
阅读(286)
评论(0)
推荐(0)
2022年3月13日
2222
摘要: /page每次加一,当等于obj的值时返回空,代码结束; if (((int) obj) == page) { return null; } int start=-1; if (page==1){ start=0; } else { start=(page-1)*10000; } //不是空时:一直
阅读全文
posted @ 2022-03-13 11:20 yingx
阅读(659)
评论(0)
推荐(0)
qwqe
摘要: //大前提,很重要!!假设导出的Excel数据是List<A> aList //下面代码,我类 统一用A代替,需要导出的原数据用aList代替 //分别是 totalPage是总页数,pageSize 页码长度 int totalPage = (aList.size() / 10000) + 1;
阅读全文
posted @ 2022-03-13 11:10 yingx
阅读(239)
评论(0)
推荐(0)
公告