querymethods.util.WhereBuilder Maven / Gradle / Ivy
package querymethods.util;
import java.util.Queue;
import querymethods.springdata.mapping.PropertyPath;
import querymethods.springdata.query.parser.Part;
import querymethods.springdata.query.parser.Part.Type;
import tk.mybatis.mapper.entity.Example.Criteria;
/**
* where条件构建类 参考spring data PredicateBuilder
*
* @author OYGD
*
*/
public class WhereBuilder {
/**
* 拼装where条件,参考spring data PredicateBuilder
*
* @return
*/
public static Criteria build(Part part, Criteria root, Queue
© 2015 - 2025 Weber Informatics LLC | Privacy Policy