code review:拼团记录流程

This commit is contained in:
YunaiV
2023-10-08 09:53:09 +08:00
parent 99649bfdb8
commit 01e6140d67
6 changed files with 66 additions and 65 deletions

View File

@ -241,7 +241,8 @@ public class CollectionUtils {
return valueFunc.apply(t);
}
public static <T, V extends Comparable<? super V>> V getSumValue(List<T> from, Function<T, V> valueFunc, BinaryOperator<V> accumulator) {
public static <T, V extends Comparable<? super V>> V getSumValue(List<T> from, Function<T, V> valueFunc,
BinaryOperator<V> accumulator) {
if (CollUtil.isEmpty(from)) {
return null;
}