当前位置:网站首页>手动SET返回PageInfo对象
手动SET返回PageInfo对象
2022-07-29 17:21:00 【ᅟᅟᅟᅟᅟ】
PageInfo<TracePointPersonLogDTO> pageInfo = new PageInfo<>();
pageInfo.setPageNum(request.getPageNum());
pageInfo.setPageSize(request.getPageSize());
pageInfo.setTotal(list.size());
pageInfo.setList(dtoList);
pageInfo.setSize(list.size() % request.getPageSize() == 0 ? list.size() / request.getPageSize() : list.size() / request.getPageSize() + 1);
return pageInfo;边栏推荐
- How CRM Helps Enterprise Marketing Acquire Customers
- HMS Core Discovery第16期回顾|与虎墩一起,玩转AI新“声”态
- js彩色树叶飘落动画js特效
- [网络知识]交换STP
- 到底什么是中台?
- MySQL数据库基础
- NFTScan and PANews jointly release multi-chain NFT data analysis report
- Out of breath!After 23 years of operation, the former "China's largest e-commerce website" has turned yellow...
- Knowledge Graph Construction of Mall Commodities
- Arduino框架下轻量级ssd1306 I2C屏幕驱动库
猜你喜欢

Learn to arthas, 3 years experience with 5 years work force you!

Live '| 37 mobile game analysis of how to implement user use StarRocks portrait

Flink on yarn双流join问题分析+性能调优思路

Swagger

Groeb - "gramm, explicit and complete n -" gramm mask language model, implements the explicit n - "gramm semantic unit modeling knowledge.

阿里最新发布的《Alibaba分布式系统速成笔记》PDF版,供下载

澜舟孟子轻量化预训练模型技术实践

js图片等分对比插件

"Record" MMDetection Introduction

Arduino框架下轻量级ssd1306 I2C屏幕驱动库
随机推荐
回帖免责声明-转载
到底什么是中台?
[Network knowledge] Routing OSPF
SSM整合案例分析(详解)
Weekend Sharing - About WeChat Ecological Changes and 5G
一文搞定代码中的命名
Knowledge Graph Construction of Mall Commodities
leetcode53 -- 最大数组和
DTSE Tech Talk丨第2期:解读云原生技术下,SaaS应用技术架构设计
「记录」MMDetection入门篇
Flutter dynamic | Fair server new version features
多智能体协同控制研究中光学动作捕捉与UWB定位技术比较
large number factorial calculation
提高编程效力的5大VS Code Extensions
js模拟白云慢慢出现js特效
【南瓜书ML】(task5)支持向量机的数学推导(更新ing)
Flink on yarn双流join问题分析+性能调优思路
Quantitative primary - akshare get the stock code, the minimalist strategy
[High Concurrency] I used multithreading to further optimize the massive data proofreading system under the billion-level traffic e-commerce business, and the performance has been improved by 200% aga
Internet Explorer 结束了它 26 年作为顶级浏览器的历史角色