Commit 6960a4e8 authored by zhangfeng's avatar zhangfeng

feat(wealth): 财务报表

parent 056d3652
...@@ -768,10 +768,10 @@ public class ReceivableServiceImpl extends AbstractService<ReceivableMapper, Rec ...@@ -768,10 +768,10 @@ public class ReceivableServiceImpl extends AbstractService<ReceivableMapper, Rec
// 该查询条件所有的自编号列表 // 该查询条件所有的自编号列表
List<ReceivableBoxReportPageVO> records = receivableMapper.getReceivableBoxPage(query); List<ReceivableBoxReportPageVO> records = receivableMapper.getReceivableBoxPage(query);
// 按查询条件排序 // 按查询条件排序
records.sort(Comparator.comparing(ReceivableBoxReportPageVO::getSlSettledTime).reversed() //records.sort(Comparator.comparing(ReceivableBoxReportPageVO::getSlSettledTime).reversed()
.thenComparing(ReceivableBoxReportPageVO::getUlWarehouseTime).reversed() // .thenComparing(ReceivableBoxReportPageVO::getUlWarehouseTime).reversed()
.thenComparing(ReceivableBoxReportPageVO::getQgDate).reversed() // .thenComparing(ReceivableBoxReportPageVO::getQgDate).reversed()
.thenComparing(ReceivableBoxReportPageVO::getDgDate).reversed()); // .thenComparing(ReceivableBoxReportPageVO::getDgDate).reversed());
List<ReceivableBoxReportPageVO> pageVOList = records.subList(page.getPage() - 1, Math.min(page.getPage() * page.getRows(), records.size())); List<ReceivableBoxReportPageVO> pageVOList = records.subList(page.getPage() - 1, Math.min(page.getPage() * page.getRows(), records.size()));
ReceivableBoxReportVO.ReceivableBoxReportVOBuilder voBuilder = ReceivableBoxReportVO.builder() ReceivableBoxReportVO.ReceivableBoxReportVOBuilder voBuilder = ReceivableBoxReportVO.builder()
.list(pageVOList) .list(pageVOList)
......
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