mybatis代码生成器生成的criterion类使用
项目记录,无记录不存在。
public static class Criterion {
private String condition;//数据库字段名
private Object value; //条件值,有多种,目前发现:单值和list
private Object secondValue;
//条件生成器中判断逻辑(不等于,单值等于,between,in)
private boolean noValue; //
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
```