list 转换成new list ,并且带参数 CollStreamUtil.toList CollStreamUtil.toList(resp.getList(), e -> toPatientsTrainInfo(e, doctors)); hutool工具,stream流转换成list