Query.java 文件源码

java
阅读 35 收藏 0 点赞 0 评论 0

项目:SpringMVCWithJavaConfig 作者:
/**
 * 不包含
 *
 * @param propertyName 属性名称
 * @param values       参数集合
 */
public Query whereValueNotIn(@NotNull final String propertyName,
                             @NotNull final List<Object> values) {
    In in = criteriaBuilder.in(from.get(propertyName));
    values.stream()
            .map(this::makeParameter)
            .collect(Collectors.toList())
            .forEach(in::value);
    this.predicates.add(criteriaBuilder.not(in));
    return this;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号