fix 修复 !pr292 相关问题 并优化写法

This commit is contained in:
疯狂的狮子li
2023-03-02 23:32:29 +08:00
parent 6e21c64728
commit 2f558094d1
10 changed files with 15 additions and 17 deletions

View File

@ -69,7 +69,7 @@ public class MapstructUtils {
if (CollUtil.isEmpty(sourceList)) {
return CollUtil.newArrayList();
}
return StreamUtils.toList(sourceList, source -> CONVERTER.convert(source, desc));
return CONVERTER.convert(sourceList, desc);
}
/**