com.codingapi.springboot.fast.jpa.repository.DynamicSQLBuilder Maven / Gradle / Ivy
package com.codingapi.springboot.fast.jpa.repository;
import com.codingapi.springboot.framework.dto.request.Filter;
import com.codingapi.springboot.framework.dto.request.PageRequest;
import com.codingapi.springboot.framework.dto.request.RequestFilter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.domain.Sort;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* 动态条件查询组装
*/
@Slf4j
class DynamicSQLBuilder {
private final PageRequest request;
private final Class> clazz;
private final List