过年啦
摘要: eg:List<List> listEnd 像这种形式的,我们应该如何合并成一个集合给前端呢,我首选stream 首先已经存在这个集合 List<List<DetailVo>> listEnd = new ArrayList<>(); for (GetDetailDto ruleVo : list) 阅读全文
posted @ 2024-02-23 10:52 一只快乐的柠檬精J 阅读(65) 评论(0) 推荐(0)
摘要: //List1 List<FaultReport> reportDetail = reportMapper.getReportDetail(pagePo); List<Long> collect = reportDetail.stream().map(FaultReport::getId).coll 阅读全文
posted @ 2024-02-23 10:48 一只快乐的柠檬精J 阅读(74) 评论(0) 推荐(0)