CRM: 完善销售漏斗分析

This commit is contained in:
puhui999
2024-04-13 23:30:11 +08:00
parent c4ce9068f9
commit 6c9a3b0e11
16 changed files with 388 additions and 14 deletions

View File

@ -97,6 +97,10 @@ public class CollectionUtils {
.collect(Collectors.toList());
}
public static <T> Set<T> convertSet(Collection<T> from) {
return convertSet(from, v -> v);
}
public static <T, U> Set<U> convertSet(Collection<T> from, Function<T, U> func) {
if (CollUtil.isEmpty(from)) {
return new HashSet<>();