Example 自定义条件
andCondition(String condition):根据自定义的条件表达式添加条件。
Example example = new Example(User.class);
example.createCriteria().andCondition("age > 20 and salary < 60000");
Example 自定义条件
andCondition(String condition):根据自定义的条件表达式添加条件。
Example example = new Example(User.class);
example.createCriteria().andCondition("age > 20 and salary < 60000");