Commit 661c044a authored by zhangfeng's avatar zhangfeng

feat(wealth): 财务报表

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