1. 订单服务,修改为交易服务
2. 迁移订单创建 rpc 接口
This commit is contained in:
@@ -48,4 +48,8 @@ public class CollectionUtils {
|
||||
return org.springframework.util.CollectionUtils.containsAny(source, candidates);
|
||||
}
|
||||
|
||||
public static <T> T getFirst(List<T> from) {
|
||||
return !isEmpty(from) ? from.get(0) : null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user